emacs: add notmuch-hello-refresh-hook

This hook is called every time a notmuch-hello buffer is updated.
This commit is contained in:
Thomas Jost 2011-12-21 02:28:14 +01:00 committed by David Bremner
parent 77ec8108a1
commit 4e2fe89520

View file

@ -143,6 +143,11 @@ Typically \",\" in the US and UK and \".\" in Europe."
:group 'notmuch
:type 'hook)
(defcustom notmuch-hello-refresh-hook nil
"Functions called after updating a `notmuch-hello' buffer."
:type 'hook
:group 'notmuch)
(defvar notmuch-hello-url "http://notmuchmail.org"
"The `notmuch' web site.")
@ -590,7 +595,9 @@ Complete list of currently available key bindings:
(widget-forward 1)))
(unless (widget-at)
(notmuch-hello-goto-search)))))
(notmuch-hello-goto-search))))
(run-hooks 'notmuch-hello-refresh-hook))
(defun notmuch-folder ()
"Deprecated function for invoking notmuch---calling `notmuch' is preferred now."