diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2002-09-12 21:44:23 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2002-09-12 21:44:23 +0000 |
commit | df52e0e7ac71f817373f40f0a5fecf933278b51c (patch) | |
tree | ea4fadbc9af6a29971bcdfdbb5fd10f304fd629a /lisp | |
parent | 1a7cf67f5d26fcfb9d6d3f8f391815d71898511d (diff) | |
download | emacs-df52e0e7ac71f817373f40f0a5fecf933278b51c.tar.gz emacs-df52e0e7ac71f817373f40f0a5fecf933278b51c.tar.bz2 emacs-df52e0e7ac71f817373f40f0a5fecf933278b51c.zip |
(diff-mode): Docstring improvement.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/diff-mode.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index 69621a64259..ce0a7bb4fb1 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el @@ -856,7 +856,13 @@ See `after-change-functions' for the meaning of BEG, END and LEN." "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) |