# HG changeset patch # User Stefan Monnier # Date 1031867063 0 # Node ID d54b5b9a2b7784752c18599b902620941204db6a # Parent 309437e4c4d99f19490b81b1fa1434547ef62ca4 (diff-mode): Docstring improvement. diff -r 309437e4c4d9 -r d54b5b9a2b77 lisp/diff-mode.el --- a/lisp/diff-mode.el Thu Sep 12 21:37:25 2002 +0000 +++ b/lisp/diff-mode.el Thu Sep 12 21:44:23 2002 +0000 @@ -856,7 +856,13 @@ "Major mode for viewing/editing context diffs. Supports unified and context diffs as well as (to a lesser extent) normal diffs. -When the buffer is read-only, the ESC prefix is not necessary." +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 +headers for you on-the-fly. + +You can also switch between context diff and unified diff with \\[diff-context->unified], +or vice versa with \\[diff-unified->context] and you can also revert the direction of +a diff with \\[diff-reverse-direction]." (set (make-local-variable 'font-lock-defaults) diff-font-lock-defaults) (set (make-local-variable 'outline-regexp) diff-outline-regexp) (set (make-local-variable 'imenu-generic-expression)