From f4b838c1080174e05a9e5f8672c4510a6d8298dc Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Wed, 30 Sep 2020 15:07:47 -0700 Subject: Cross-reference the different functions for callables --- helpful.el | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/helpful.el b/helpful.el index 322754f..da344fa 100644 --- a/helpful.el +++ b/helpful.el @@ -2554,7 +2554,9 @@ escapes that are used by `substitute-command-keys'." ;;;###autoload (defun helpful-function (symbol) - "Show help for function named SYMBOL." + "Show help for function named SYMBOL. + +See also `helpful-macro', `helpful-command' and `helpful-callable'." (interactive (list (helpful--read-symbol "Function: " #'functionp))) (funcall helpful-switch-buffer-function (helpful--buffer symbol t)) @@ -2562,7 +2564,9 @@ escapes that are used by `substitute-command-keys'." ;;;###autoload (defun helpful-command (symbol) - "Show help for interactive function named SYMBOL." + "Show help for interactive function named SYMBOL. + +See also `helpful-function'." (interactive (list (helpful--read-symbol "Command: " #'commandp))) (funcall helpful-switch-buffer-function (helpful--buffer symbol t)) @@ -2598,7 +2602,7 @@ escapes that are used by `substitute-command-keys'." (defun helpful-callable (symbol) "Show help for function, macro or special form named SYMBOL. -See also `helpful-macro' and `helpful-function'." +See also `helpful-macro', `helpful-function' and `helpful-command'." (interactive (list (helpful--read-symbol "Callable: " #'fboundp))) (funcall helpful-switch-buffer-function (helpful--buffer symbol t)) -- cgit v1.0