# HG changeset patch # User Chong Yidong # Date 1175885134 0 # Node ID 3a37aeee953767e9422fbebd79d93e1957940314 # Parent 970cee90dffdf760da5d7faaf6476d0e92ffd736 (diff-mode): Revert 2007-03-04 change. diff -r 970cee90dffd -r 3a37aeee9537 lisp/diff-mode.el --- a/lisp/diff-mode.el Fri Apr 06 18:45:25 2007 +0000 +++ b/lisp/diff-mode.el Fri Apr 06 18:45:34 2007 +0000 @@ -985,8 +985,7 @@ (define-derived-mode diff-mode fundamental-mode "Diff" "Major mode for viewing/editing context diffs. Supports unified and context diffs as well as (to a lesser extent) -normal diffs. If you edit the buffer manually, diff-mode will try -to update the hunk headers for you on-the-fly. +normal diffs. When the buffer is read-only, the ESC prefix is not necessary. If you edit the buffer manually, diff-mode will try to update the hunk @@ -996,9 +995,6 @@ or vice versa with \\[diff-unified->context] and you can also reverse the direction of a diff with \\[diff-reverse-direction]. -When the buffer is read-only, the Meta- modifier is not necessary -to run the Diff mode commands: - \\{diff-mode-map}" (set (make-local-variable 'font-lock-defaults) diff-font-lock-defaults)