(diff-mode): Revert 2007-03-04 change.

This commit is contained in:
Chong Yidong 2007-04-06 18:45:34 +00:00
parent a8cf60899a
commit 6035b97e5c

View file

@ -985,8 +985,7 @@ See `after-change-functions' for the meaning of BEG, END and LEN."
(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 @@ You can also switch between context diff and unified diff with \\[diff-context->
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)