From: Sean Whitton Date: Sun, 11 May 2025 10:12:53 +0000 (+0100) Subject: diff-mode-map: Unhide some additional M- X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a0eda892297a7d77bdb164eaa24af6c0de8cece0;p=emacs.git diff-mode-map: Unhide some additional M- * 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. (cherry picked from commit 5b73625714ff6357170d83bff8fafa8d4c6a47c4) --- diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el index 7070e71fc78..e0579331fa0 100644 --- a/lisp/vc/diff-mode.el +++ b/lisp/vc/diff-mode.el @@ -206,7 +206,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-' global bindings when editing. - (dolist (key '("A" "r" "R" "g" "q" "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.