emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/diff-mode.el


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/diff-mode.el
Date: Thu, 12 Sep 2002 17:44:23 -0400

Index: emacs/lisp/diff-mode.el
diff -c emacs/lisp/diff-mode.el:1.46 emacs/lisp/diff-mode.el:1.47
*** emacs/lisp/diff-mode.el:1.46        Tue Jul 16 09:37:15 2002
--- emacs/lisp/diff-mode.el     Thu Sep 12 17:44:23 2002
***************
*** 856,862 ****
    "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."
    (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)
--- 856,868 ----
    "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.
! 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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]