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

diff-mode-map: Unhide some additional M-<foo>

* lisp/vc/diff-mode.el (diff-mode-map): Don't inherit M-?,
M-SPC, M-DEL and M-S-SPC bindings through from special-mode-map.
This commit is contained in:
Sean Whitton 2025-05-11 11:12:53 +01:00
parent dfafe1830f
commit 5b73625714

View file

@ -207,7 +207,8 @@ The default \"-b\" means to ignore whitespace-only changes,
;; We want to inherit most bindings from
;; `diff-mode-shared-map', but not all since they may hide
;; useful `M-<foo>' global bindings when editing.
(dolist (key '("A" "r" "R" "g" "q" "W" "w" "z"))
(dolist (key '("A" "r" "R" "g" "q" "W" "w" "z" "?"
"SPC" "S-SPC" "DEL"))
(keymap-set map key nil))
map)
;; From compilation-minor-mode.