Commit c60c3703 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Prevent Diff Mode from stealing M-z binding.

 lisp/vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
 special-mode-map.
parent b22b1918
2011-11-28 Eli Zaretskii <eliz@gnu.org>
* vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
special-mode-map.
2011-11-28 Chong Yidong <cyd@gnu.org> 2011-11-28 Chong Yidong <cyd@gnu.org>
* emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc. * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
......
...@@ -146,7 +146,7 @@ when editing big diffs)." ...@@ -146,7 +146,7 @@ when editing big diffs)."
;; but not all since they may hide useful M-<foo> global ;; but not all since they may hide useful M-<foo> global
;; bindings when editing. ;; bindings when editing.
(set-keymap-parent map diff-mode-shared-map) (set-keymap-parent map diff-mode-shared-map)
(dolist (key '("A" "r" "R" "g" "q" "W")) (dolist (key '("A" "r" "R" "g" "q" "W" "z"))
(define-key map key nil)) (define-key map key nil))
map)) map))
;; From compilation-minor-mode. ;; From compilation-minor-mode.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment