]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/vc/diff-mode.el (diff-mode-shared-map): Document.
authorSean Whitton <spwhitton@spwhitton.name>
Tue, 13 May 2025 09:09:26 +0000 (10:09 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 14 May 2025 12:34:25 +0000 (14:34 +0200)
(cherry picked from commit a8309895ae83a18dbdfe4afae49152e98bee1e6f)

lisp/vc/diff-mode.el

index 08ca9f26d1eb5636c0a3bd40a551511abb2a209c..1c3f7162abbb3d40b1014ffa0d9bd9d57277c9bb 100644 (file)
@@ -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