mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
emacs: Fix the autoload comments
Remove them from non-top-level entry points, (such as the functions to set notmuch modes and the deprecated notmuch-folder function). And add one to the notmuch-hello function. Also, add missing documentation string to notmuch-hello.
This commit is contained in:
parent
6e3007bec0
commit
b11ecf613a
3 changed files with 2 additions and 3 deletions
|
@ -317,7 +317,9 @@ Complete list of currently available key bindings:
|
|||
;;(setq buffer-read-only t)
|
||||
)
|
||||
|
||||
;;;###autoload
|
||||
(defun notmuch-hello (&optional no-display)
|
||||
"Run notmuch and display saved searches, known tags, etc."
|
||||
(interactive)
|
||||
|
||||
; Jump through a hoop to get this value from the deprecated variable
|
||||
|
@ -513,7 +515,6 @@ Complete list of currently available key bindings:
|
|||
(unless (widget-at)
|
||||
(notmuch-hello-goto-search)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun notmuch-folder ()
|
||||
"Deprecated function for invoking notmuch---calling `notmuch' is preferred now."
|
||||
(interactive)
|
||||
|
|
|
@ -586,7 +586,6 @@ function is used. "
|
|||
"Keymap for \"notmuch show\" buffers.")
|
||||
(fset 'notmuch-show-mode-map notmuch-show-mode-map)
|
||||
|
||||
;;;###autoload
|
||||
(defun notmuch-show-mode ()
|
||||
"Major mode for viewing a thread with notmuch.
|
||||
|
||||
|
|
|
@ -329,7 +329,6 @@ For a mouse binding, return nil."
|
|||
"Face used in search mode face for tags."
|
||||
:group 'notmuch)
|
||||
|
||||
;;;###autoload
|
||||
(defun notmuch-search-mode ()
|
||||
"Major mode displaying results of a notmuch search.
|
||||
|
||||
|
|
Loading…
Reference in a new issue