[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/vc.el,v
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/vc.el,v |
Date: |
Tue, 07 Aug 2007 03:32:26 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Stefan Monnier <monnier> 07/08/07 03:32:26
Index: vc.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/vc.el,v
retrieving revision 1.448
retrieving revision 1.449
diff -u -b -r1.448 -r1.449
--- vc.el 5 Aug 2007 21:46:00 -0000 1.448
+++ vc.el 7 Aug 2007 03:32:24 -0000 1.449
@@ -3272,12 +3272,19 @@
(set (make-local-variable 'vc-annotate-parent-display-mode)
display-mode)))
+ (with-current-buffer temp-buffer-name
(vc-exec-after
`(progn
- (when ,current-line
- (goto-line ,current-line ,temp-buffer-name))
+ ;; Ideally, we'd rather not move point if the user has already
+ ;; moved it elsewhere, but really point here is not the position
+ ;; of the user's cursor :-(
+ (when ,current-line ;(and (bobp))
+ (let ((win (get-buffer-window (current-buffer) 0)))
+ (when win
+ (with-selected-window win
+ (goto-line ,current-line)))))
(unless (active-minibuffer-window)
- (message "Annotating... done"))))))
+ (message "Annotating... done")))))))
(defun vc-annotate-prev-version (prefix)
"Visit the annotation of the version previous to this one.
- [Emacs-diffs] Changes to emacs/lisp/vc.el,v, Dan Nicolaescu, 2007/08/01
- [Emacs-diffs] Changes to emacs/lisp/vc.el,v, Jason Rumney, 2007/08/05
- [Emacs-diffs] Changes to emacs/lisp/vc.el,v,
Stefan Monnier <=
- [Emacs-diffs] Changes to emacs/lisp/vc.el,v, Miles Bader, 2007/08/13
- [Emacs-diffs] Changes to emacs/lisp/vc.el,v, Stefan Monnier, 2007/08/23
- [Emacs-diffs] Changes to emacs/lisp/vc.el,v, Dan Nicolaescu, 2007/08/25
- [Emacs-diffs] Changes to emacs/lisp/vc.el,v, Miles Bader, 2007/08/27