changeset 85794:b627bc69db6a

(vc-annotate): Fix omission bug: Specify value for vc-sentinel-movepoint.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Tue, 30 Oct 2007 12:43:34 +0000
parents b7bd71352e5d
children e78f3f7ff383
files lisp/vc.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc.el	Tue Oct 30 12:36:46 2007 +0000
+++ b/lisp/vc.el	Tue Oct 30 12:43:34 2007 +0000
@@ -1286,7 +1286,7 @@
 	   (message "All version-controlled files below %s selected."
 		    default-directory)
 	   (list default-directory)))
-	((and allow-unregistered (not (vc-registered buffer-file-name))) 
+	((and allow-unregistered (not (vc-registered buffer-file-name)))
 	 (list buffer-file-name))
 	(t (error "No fileset is available here."))))
 
@@ -3324,7 +3324,7 @@
           ;; of the user's cursor :-(
           (when ,current-line           ;(and (bobp))
             (goto-line ,current-line)
-            (setq vc-sentinel-movepoint))
+            (setq vc-sentinel-movepoint (point)))
           (unless (active-minibuffer-window)
             (message "Annotating... done")))))))