[PATCH 2/3] emacs: add docstring for notmuch-show-choose-duplicate

Subject: [PATCH 2/3] emacs: add docstring for notmuch-show-choose-duplicate

Date: Sat, 30 Jul 2022 20:45:50 -0300

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


It should have one in any case, but in particular it is needed for the
manual.
---
 emacs/notmuch-show.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 1bc3b319..a729ce77 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -1135,6 +1135,10 @@ is t, hide the part initially and show the button."
 (make-variable-buffer-local 'notmuch-show-previous-subject)
 
 (defun notmuch-show-choose-duplicate (duplicate)
+  "Display message file DUPLICATE in place of the current one.
+
+The numbering is consistent with that used by the CLI. An error
+will be signaled if DUPLICATE is out of range."
   (interactive "Nduplicate: ")
   (let ((count (length (notmuch-show-get-prop :filename))))
     (when (or (> duplicate count)
-- 
2.35.2

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: