commit 80d97bcb4e5b4dbabda93cd2296bd40d76dad50d parent e9d0a13db8a0f7eeb7e8eebef9b63584508a55d6 Author: Wilfred Hughes <me@wilfred.me.uk> Date: Sat, 3 Jun 2017 17:18:06 +0100 Separate command for describing interactive functions Diffstat:
| M | helpful.el | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/helpful.el b/helpful.el @@ -455,6 +455,13 @@ For example, \"(some-func FOO &optional BAR)\"." (switch-to-buffer (helpful--buffer symbol)) (helpful-update)) +(defun helpful-command (symbol) + "Show help for interactive function named SYMBOL." + (interactive + (list (helpful--read-symbol "Command:" #'commandp))) + (switch-to-buffer (helpful--buffer symbol)) + (helpful-update)) + (defun helpful-macro (symbol) "Show help for macro named SYMBOL." (interactive