summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-10-29 15:27:01 -0700
committerCarl Worth <cworth@cworth.org>2010-10-29 15:27:01 -0700
commitb11ecf613a3e574ff80e0e9ec5825b43b541ab12 (patch)
treef4cde4c1ad160548c3ed15e66e3ff0cfdab4f2af
parent6e3007bec0b453e40d577bb98350cdc122379385 (diff)
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.
-rw-r--r--emacs/notmuch-hello.el3
-rw-r--r--emacs/notmuch-show.el1
-rw-r--r--emacs/notmuch.el1
3 files changed, 2 insertions, 3 deletions
diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el
index 8dbb898..c384313 100644
--- a/emacs/notmuch-hello.el
+++ b/emacs/notmuch-hello.el
@@ -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)
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
index 0e558db..7ec6aa5 100644
--- a/emacs/notmuch-show.el
+++ b/emacs/notmuch-show.el
@@ -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.
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index d1543f4..0cb2e5b 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -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.