]> git.eshelyaron.com Git - emacs.git/commit
diff-mode-shared-map: Don't inherit from special-mode-map
authorSean Whitton <spwhitton@spwhitton.name>
Mon, 12 May 2025 09:11:18 +0000 (10:11 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 12 May 2025 19:55:43 +0000 (21:55 +0200)
commit78b75f45d02867f0849885b1f4aecc5eecf58392
treeff125c770aaaee1a5d4bb61027e9d15ab27fbe5a
parentff54e8f2e9079507a00602550e56709a056cba86
diff-mode-shared-map: Don't inherit from special-mode-map

* lisp/vc/diff-mode.el (diff-mode-shared-map): No longer inherit
from special-mode-map.
(diff-mode-map): Tidy up list of unbindings now that we no
longer need to override any bindings from special-mode-map.
(minor-mode-map-alist): <diff-mode-read-only>: Ensure that the
minor mode keymap continues to inherit from special-mode-map by
calling make-composed-keymap here.

Co-authored-by: Stefan Monnier <monnier@iro.umontreal.ca>
(cherry picked from commit 4ddafede8d7bebdaa795279cc4c527e5fe425add)
lisp/vc/diff-mode.el