mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-26 01:40:53 -08:00
Make show-standard-help narrow to prefix
This is what describe-prefix-bindings does and it should be consistent.
This commit is contained in:
parent
9df87e6e36
commit
23a01c9fc0
1 changed files with 7 additions and 1 deletions
|
|
@ -1780,7 +1780,13 @@ Usually this is `describe-prefix-bindings'."
|
|||
(interactive)
|
||||
(let ((which-key-inhibit t))
|
||||
(which-key--hide-popup-ignore-command)
|
||||
(funcall which-key--prefix-help-cmd-backup)))
|
||||
(cond ((eq which-key--prefix-help-cmd-backup
|
||||
'describe-prefix-bindings)
|
||||
;; This is essentially what `describe-prefix-bindings' does
|
||||
(describe-bindings
|
||||
(kbd (which-key--current-key-string))))
|
||||
((functionp which-key--prefix-help-cmd-backup)
|
||||
(funcall which-key--prefix-help-cmd-backup)))))
|
||||
|
||||
;;;###autoload
|
||||
(defun which-key-show-next-page-no-cycle ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue