/[emacs]/emacs/lisp/diff-mode.el
ViewVC logotype

Diff of /emacs/lisp/diff-mode.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.46 by monnier, Tue Jul 16 13:37:15 2002 UTC revision 1.47 by monnier, Thu Sep 12 21:44:23 2002 UTC
# Line 856  See `after-change-functions' for the mea Line 856  See `after-change-functions' for the mea
856    "Major mode for viewing/editing context diffs.    "Major mode for viewing/editing context diffs.
857  Supports unified and context diffs as well as (to a lesser extent)  Supports unified and context diffs as well as (to a lesser extent)
858  normal diffs.  normal diffs.
859  When the buffer is read-only, the ESC prefix is not necessary."  When the buffer is read-only, the ESC prefix is not necessary.
860    IF you edit the buffer manually, diff-mode will try to update the hunk
861    headers for you on-the-fly.
862    
863    You can also switch between context diff and unified diff with \\[diff-context->unified],
864    or vice versa with \\[diff-unified->context] and you can also revert the direction of
865    a diff with \\[diff-reverse-direction]."
866    (set (make-local-variable 'font-lock-defaults) diff-font-lock-defaults)    (set (make-local-variable 'font-lock-defaults) diff-font-lock-defaults)
867    (set (make-local-variable 'outline-regexp) diff-outline-regexp)    (set (make-local-variable 'outline-regexp) diff-outline-regexp)
868    (set (make-local-variable 'imenu-generic-expression)    (set (make-local-variable 'imenu-generic-expression)

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26