From: Sean Whitton Date: Tue, 13 May 2025 09:09:26 +0000 (+0100) Subject: ; * lisp/vc/diff-mode.el (diff-mode-shared-map): Document. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e1041d60cda30243bc3b3f24fb00816c71007692;p=emacs.git ; * lisp/vc/diff-mode.el (diff-mode-shared-map): Document. (cherry picked from commit a8309895ae83a18dbdfe4afae49152e98bee1e6f) --- diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el index 08ca9f26d1e..1c3f7162abb 100644 --- a/lisp/vc/diff-mode.el +++ b/lisp/vc/diff-mode.el @@ -180,6 +180,10 @@ The default \"-b\" means to ignore whitespace-only changes, ;;;; (defvar-keymap diff-mode-shared-map + :doc "Additional bindings for read-only `diff-mode' buffers. +These bindings are also available with an ESC prefix +(i.e. a \\=`M-' prefix) in read-write `diff-mode' buffers, +and with a `diff-minor-mode-prefix' prefix in `diff-minor-mode'." "n" #'diff-hunk-next "N" #'diff-file-next "p" #'diff-hunk-prev