]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: Fix the autoload comments
authorCarl Worth <cworth@cworth.org>
Fri, 29 Oct 2010 22:27:01 +0000 (15:27 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 29 Oct 2010 22:27:01 +0000 (15:27 -0700)
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.

emacs/notmuch-hello.el
emacs/notmuch-show.el
emacs/notmuch.el

index 8dbb89824397835c4cf5c6e61a6a8d26c3d44a47..c384313f69fc1c052de87ad29c272251c351c89a 100644 (file)
@@ -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)
index 0e558db87cbdb16db7e976a0f9988358408243e0..7ec6aa50ce483c7c21ce43a3db0fcfe66278867a 100644 (file)
@@ -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.
 
index d1543f4bd8bd915de2ea503f44fdbd09572dd34c..0cb2e5b16864ec411e8bfbe079a418ba4e21cdc4 100644 (file)
@@ -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.