commit c86b39eea2a787557e13a814a626c839d2caef2a
parent b5385cd7391d0ff293c381cbc8ef82fddad9652e
Author: Wilfred Hughes <me@wilfred.me.uk>
Date: Mon, 19 Jun 2017 23:37:23 +0100
Merge pull request #2 from davidshepherd7/master
Add autoloads
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/helpful.el b/helpful.el
@@ -542,6 +542,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
@@ -549,6 +550,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
@@ -556,6 +558,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