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:
parent
dfafe1830f
commit
5b73625714
1 changed files with 2 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue