1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

Bind "N"/"P" to next/prev section in shortdoc

* lisp/emacs-lisp/shortdoc.el (shortdoc-mode-map): Bind "N" and
"P" to 'shortdoc-next-section' and 'shortdoc-previous-section'.
This commit is contained in:
Stefan Kangas 2022-09-25 13:22:17 +02:00
parent d25a26ab40
commit 3af2f9cce3
2 changed files with 8 additions and 0 deletions

View file

@ -1512,6 +1512,8 @@ Example:
:doc "Keymap for `shortdoc-mode'."
"n" #'shortdoc-next
"p" #'shortdoc-previous
"N" #'shortdoc-next-section
"P" #'shortdoc-previous-section
"C-c C-n" #'shortdoc-next-section
"C-c C-p" #'shortdoc-previous-section)