Respect help-window-keep-selected in shortdoc buttons
* lisp/help-fns.el (help-fns--mention-shortdoc-groups): Respect help-window-keep-selected. * lisp/emacs-lisp/shortdoc.el (shortdoc-display-group): Allow reusing the window.
This commit is contained in:
parent
afc14e4f66
commit
1cda7cfb39
2 changed files with 9 additions and 4 deletions
|
@ -837,7 +837,8 @@ the C sources, too."
|
|||
(insert-text-button
|
||||
(symbol-name group)
|
||||
'action (lambda (_)
|
||||
(shortdoc-display-group group object))
|
||||
(shortdoc-display-group group object
|
||||
help-window-keep-selected))
|
||||
'follow-link t
|
||||
'help-echo (purecopy "mouse-1, RET: show documentation group")))
|
||||
groups)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue