Mercurial > emacs
changeset 47445:d54b5b9a2b77
(diff-mode): Docstring improvement.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 12 Sep 2002 21:44:23 +0000 |
parents | 309437e4c4d9 |
children | 8bd5dd6cc381 |
files | lisp/diff-mode.el |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)