[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/diff-mode.el,v [EMACS_22_BASE]
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/diff-mode.el,v [EMACS_22_BASE] |
Date: |
Sun, 10 Feb 2008 16:36:08 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Stefan Monnier <monnier> 08/02/10 16:36:07
Index: diff-mode.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/diff-mode.el,v
retrieving revision 1.99.2.9
retrieving revision 1.99.2.10
diff -u -b -r1.99.2.9 -r1.99.2.10
--- diff-mode.el 15 Jan 2008 03:46:44 -0000 1.99.2.9
+++ diff-mode.el 10 Feb 2008 16:36:07 -0000 1.99.2.10
@@ -489,6 +489,7 @@
(diff-file-next)
(setq file (point)))
(let ((index (save-excursion
+ (forward-line 1) ;In case we're looking at "Index:".
(re-search-backward "^Index: " prevhunk t))))
(when index (setq file index))
(if (<= file start)
- [Emacs-diffs] Changes to emacs/lisp/diff-mode.el,v [EMACS_22_BASE],
Stefan Monnier <=