commit 502d593053fbba85ce8d254500cca221f3f22e33
parent fdabfe7d88853e052cd5a20614585ed3cc1faeac
Author: David Shepherd <davidshepherd7@gmail.com>
Date: Mon, 12 Jun 2017 13:05:08 +0100
Add autoloads
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/helpful.el b/helpful.el
@@ -541,6 +541,7 @@ For example, \"(some-func FOO &optional BAR)\"."
(symbol-name sym-here))))))
;; TODO: it would be nice to support variables too.
+;;;###autoload
(defun helpful-function (symbol)
"Show help for function named SYMBOL."
(interactive
@@ -548,6 +549,7 @@ For example, \"(some-func FOO &optional BAR)\"."
(switch-to-buffer (helpful--buffer symbol))
(helpful-update))
+;;;###autoload
(defun helpful-command (symbol)
"Show help for interactive function named SYMBOL."
(interactive
@@ -555,6 +557,7 @@ For example, \"(some-func FOO &optional BAR)\"."
(switch-to-buffer (helpful--buffer symbol))
(helpful-update))
+;;;###autoload
(defun helpful-macro (symbol)
"Show help for macro named SYMBOL."
(interactive