emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp log-view.el


From: Chong Yidong
Subject: [Emacs-diffs] emacs/lisp log-view.el
Date: Mon, 24 Nov 2008 21:19:57 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/11/24 21:19:57

Modified files:
        lisp           : log-view.el 

Log message:
         (log-view-annotate-version): Let vc-annotate manage windows instead
        of calling switch-to-buffer.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/log-view.el?cvsroot=emacs&r1=1.55&r2=1.56

Patches:
Index: log-view.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/log-view.el,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- log-view.el 16 Jun 2008 09:28:44 -0000      1.55
+++ log-view.el 24 Nov 2008 21:19:56 -0000      1.56
@@ -474,10 +474,10 @@
       (error "Multiple files shown in this buffer, cannot use this command 
here")))
   (save-excursion
     (goto-char pos)
-    (switch-to-buffer (vc-annotate (if log-view-per-file-logs
+    (vc-annotate (if log-view-per-file-logs
                                       (log-view-current-file)
                                     (car log-view-vc-fileset))
-                                  (log-view-current-tag)))))
+                (log-view-current-tag))))
 
 ;;
 ;; diff




reply via email to

[Prev in Thread] Current Thread [Next in Thread]