diff lisp/diff-mode.el @ 74269:fa6583f5269e

(diff-mode-map): Add a binding for unified->context.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 27 Nov 2006 20:59:54 +0000
parents 200db4ae9b54
children 98ad9ce30ba1 f1d13e615070
line wrap: on
line diff
--- a/lisp/diff-mode.el	Mon Nov 27 20:58:37 2006 +0000
+++ b/lisp/diff-mode.el	Mon Nov 27 20:59:54 2006 +0000
@@ -120,8 +120,8 @@
     ("\C-m" . diff-goto-source)
     ([mouse-2] . diff-goto-source)
     ;; From XEmacs' diff-mode.
-;; Standard M-w is useful, so don't change M-W.
-;;    ("W" . widen)
+    ;; Standard M-w is useful, so don't change M-W.
+    ;;("W" . widen)
     ;;("." . diff-goto-source)		;display-buffer
     ;;("f" . diff-goto-source)		;find-file
     ("o" . diff-goto-source)		;other-window
@@ -153,6 +153,8 @@
     ("\C-c\C-s" . diff-split-hunk)
     ("\C-c\C-t" . diff-test-hunk)
     ("\C-c\C-u" . diff-context->unified)
+    ;; `d' because it duplicates the context :-(  --Stef
+    ("\C-c\C-d" . diff-unified->context)
     ("\C-c\C-w" . diff-refine-hunk)
     ("\C-c\C-f" . next-error-follow-minor-mode))
   "Keymap for `diff-mode'.  See also `diff-mode-shared-map'.")