aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeodor Zlatanov2008-08-27 18:29:44 +0000
committerTeodor Zlatanov2008-08-27 18:29:44 +0000
commit5d25baef6d9b4eeade332e369fb5a0f1723d46f1 (patch)
treec3bceca20b3dbea2da19718024ba49e6a0fcdc11
parent921d84aa36da88b7b8d1d185bb96e2c7f79ba94c (diff)
downloademacs-5d25baef6d9b4eeade332e369fb5a0f1723d46f1.tar.gz
emacs-5d25baef6d9b4eeade332e369fb5a0f1723d46f1.zip
(change-log-next-error): Run an extra `find-file' to
go to the position of interest.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/add-log.el5
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9f3d0e2fece..d4ba7d364be 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-08-27 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * add-log.el (change-log-next-error): Run an extra `find-file' to
4 go to the position of interest.
5
12008-08-27 Tomas Abrahamsson <tab@lysator.liu.se> 62008-08-27 Tomas Abrahamsson <tab@lysator.liu.se>
2 7
3 * textmodes/artist.el (artist-mode-init): Added comment on the 8 * textmodes/artist.el (artist-mode-init): Added comment on the
diff --git a/lisp/add-log.el b/lisp/add-log.el
index b7d855b7c62..5e7fe57d63e 100644
--- a/lisp/add-log.el
+++ b/lisp/add-log.el
@@ -543,7 +543,10 @@ Compatibility function for \\[next-error] invocations."
543 (beginning-of-line) 543 (beginning-of-line)
544 ;; if we found a place to visit... 544 ;; if we found a place to visit...
545 (when (looking-at change-log-file-names-re) 545 (when (looking-at change-log-file-names-re)
546 (change-log-goto-source))) 546 (change-log-goto-source)
547 ;; go to the file itself
548 (let ((file (nth 2 change-log-find-head)))
549 (when file (find-file file)))))
547 550
548(defvar change-log-mode-map 551(defvar change-log-mode-map
549 (let ((map (make-sparse-keymap))) 552 (let ((map (make-sparse-keymap)))