From 846d66a15c73a336c110f5238307242f9192e8c3 Mon Sep 17 00:00:00 2001 From: Karl Fogel Date: Mon, 24 Nov 2014 11:32:42 -0600 Subject: [PATCH] org.el: Improve accuracy of message * lisp/org.el (org-remove-file): Reword success message. Before this change, when `org-remove-file' succeeded in removing a file from `org-agenda-files', it would display this unduly alarming message to the user: "Removed file: foo.org". This made it seem as though the file itself were removed from the filesystem, rather than simply being delisted from `org-agenda-files'. After this change, the message "Removed from Org Agenda list: foo.org" is displayed instead, so the user will experience only the normal level of panic involved in using Org Mode, not the increased panic that results from thinking a file has been removed when it hasn't. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 38c5726..9372191 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -18465,7 +18465,7 @@ Optional argument FILE means use this file instead of the current." (progn (org-store-new-agenda-file-list files) (org-install-agenda-files-menu) - (message "Removed file: %s" afile)) + (message "Removed from Org Agenda list: %s" afile)) (message "File was not in list: %s (not removed)" afile)))) (defun org-file-menu-entry (file) -- 2.1.3