From e1041d60cda30243bc3b3f24fb00816c71007692 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Tue, 13 May 2025 10:09:26 +0100 Subject: [PATCH] ; * lisp/vc/diff-mode.el (diff-mode-shared-map): Document. (cherry picked from commit a8309895ae83a18dbdfe4afae49152e98bee1e6f) --- lisp/vc/diff-mode.el | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5