summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/diff-mode.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a8d0ab8309e..112a91b8671 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-05 Miles Bader <miles@gnu.org>
+
+ * diff-mode.el (diff-goto-source): Update call to
+ `diff-hunk-status-msg' to reflect new REV variable.
+
2000-10-04 Gerd Moellmann <gerd@gnu.org>
* startup.el (fancy-splash-pending-command): New variable.
diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el
index 6b2d8e66faa..682d2e912e0 100644
--- a/lisp/diff-mode.el
+++ b/lisp/diff-mode.el
@@ -4,7 +4,7 @@
;; Author: Stefan Monnier <monnier@cs.yale.edu>
;; Keywords: patch diff
-;; Revision: $Id: diff-mode.el,v 1.26 2000/10/02 06:49:21 miles Exp $
+;; Revision: $Id: diff-mode.el,v 1.27 2000/10/03 18:36:36 monnier Exp $
;; This file is part of GNU Emacs.
@@ -1074,7 +1074,7 @@ If the prefix arg is bigger than 8 (for example with \\[universal-argument] \\[u
(diff-find-source-location other-file rev)
(pop-to-buffer buf)
(goto-char (+ pos (cdr src)))
- (diff-hunk-status-msg line-offset (not switched) t))))
+ (diff-hunk-status-msg line-offset (diff-xor rev switched) t))))
(defun diff-current-defun ()