From f5102f71eae28d544c6e5c815cd8e0275ca9a153 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Tue, 17 Jan 2012 10:43:16 -0800 Subject: [PATCH] emacs: fix archive thread/message function documentation. This removes an inaccuracy in the thread archiving function, and adds a clarification to the message archiving function. --- emacs/notmuch-show.el | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index e0dce210..c11af66c 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1741,13 +1741,10 @@ argument, hide all of the messages." (defun notmuch-show-archive-thread (&optional unarchive) "Archive each message in thread. -If a prefix argument is given, the messages will be -\"unarchived\" (ie. the \"inbox\" tag will be added instead of -removed). - Archive each message currently shown by removing the \"inbox\" -tag from each. Then kill this buffer and show the next thread -from the search from which this thread was originally shown. +tag from each. If a prefix argument is given, the messages will +be \"unarchived\" (ie. the \"inbox\" tag will be added instead of +removed). Note: This command is safe from any race condition of new messages being delivered to the same thread. It does not archive the @@ -1770,7 +1767,7 @@ buffer." (notmuch-show-next-thread)) (defun notmuch-show-archive-message (&optional unarchive) - "Archive the current message. + "Archive the current message (remove \"inbox\" tag). If a prefix argument is given, the message will be \"unarchived\" (ie. the \"inbox\" tag will be added instead of