diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-07-15 18:29:27 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-07-15 18:29:27 +0200 |
commit | 22a5482ab699973e286d7dceb20fe469c94533dd (patch) | |
tree | fb89136ff4b6cb55ed01717ba10b139eecf9359c /lisp/help-fns.el | |
parent | ceecac4c79df85a523a8a6bb3ace78105ff0ffe8 (diff) | |
download | emacs-22a5482ab699973e286d7dceb20fe469c94533dd.tar.gz |
Improve the shortdoc link action in *Help* buffers
* lisp/emacs-lisp/shortdoc.el (shortdoc-display-group): Allow
taking an optional parameter to place point on a specific function.
(shortdoc--display-function): Go to the function in question in
the shortdoc buffer.
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r-- | lisp/help-fns.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index afdb0d17b26..d3fdb47a348 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -752,7 +752,7 @@ FILE is the file where FUNCTION was probably defined." (insert-text-button (symbol-name group) 'action (lambda (_) - (shortdoc-display-group group)) + (shortdoc-display-group group object)) 'follow-link t 'help-echo (purecopy "mouse-1, RET: show documentation group"))) groups) |