diff options
| author | Wilfred Hughes <me@wilfred.me.uk> | 2017-06-03 17:18:06 +0100 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2017-06-03 17:18:06 +0100 |
| commit | 80d97bcb4e5b4dbabda93cd2296bd40d76dad50d (patch) | |
| tree | 8430ecf122758b41bcd4763e140ce82750016a34 | |
| parent | e9d0a13db8a0f7eeb7e8eebef9b63584508a55d6 (diff) | |
Separate command for describing interactive functions
| -rw-r--r-- | helpful.el | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |
