]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: show: document the mark unread defcustom function
authorMark Walters <markwalters1009@gmail.com>
Sat, 6 Sep 2014 16:22:10 +0000 (17:22 +0100)
committerDavid Bremner <david@tethera.net>
Sun, 9 Nov 2014 15:08:58 +0000 (16:08 +0100)
emacs/notmuch-show.el

index 6e03f1e7820fa209e309b76b0047c389617d6816..4035fe88875fda28cb5c8ad672d144ed995848b2 100644 (file)
@@ -224,7 +224,13 @@ For example, if you wanted to remove an \"unread\" tag and add a
   :group 'notmuch-show)
 
 (defcustom notmuch-show-mark-read-function #'notmuch-show-seen-current-message
-  "Function to control which messages are marked read."
+  "Function to control which messages are marked read.
+
+The function should take two arguments START and END which will
+be the start and end of the visible portion of the buffer and
+should mark the appropriate messages read by applying
+`notmuch-show-mark-read'. This function will be called after
+every user interaction with notmuch."
   :type 'function
   :group 'notmuch-show)