]> git.eshelyaron.com Git - emacs.git/commitdiff
(diff-mode): Docstring improvement.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 12 Sep 2002 21:44:23 +0000 (21:44 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 12 Sep 2002 21:44:23 +0000 (21:44 +0000)
lisp/diff-mode.el

index 69621a6425979009a434668518c3eca999b30504..ce0a7bb4fb1c468a3d1950b92b3df0800b969fe1 100644 (file)
@@ -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)