changeset 81983:d3b18c88b7e5

(vc-print-log): Fix call to print-log. (vc-default-comment-history): Likewise.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 20 Jul 2007 00:19:49 +0000
parents d4b8336cd8f5
children 5fe5698ac0fb
files lisp/ChangeLog lisp/vc.el
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Jul 20 00:09:17 2007 +0000
+++ b/lisp/ChangeLog	Fri Jul 20 00:19:49 2007 +0000
@@ -9,6 +9,8 @@
 	(vc-hg-create-repo): Fix typos.
 
 	* vc.el: Fix typo.
+	(vc-print-log): Fix call to print-log.
+	(vc-default-comment-history): Likewise.
 
 	* vc-mcvs.el (vc-mcvs-create-repo): Fix typos.
 
--- a/lisp/vc.el	Fri Jul 20 00:09:17 2007 +0000
+++ b/lisp/vc.el	Fri Jul 20 00:19:49 2007 +0000
@@ -2505,7 +2505,7 @@
     ;; buffer can be accessed by the command.
     (condition-case err
         (progn
-          (vc-call print-log file "*vc-change-log*")
+          (vc-call print-log (list file) "*vc-change-log*")
           (set-buffer "*vc-change-log*"))
       (wrong-number-of-arguments
        ;; If this error came from the above call to print-log, try again
@@ -2547,7 +2547,7 @@
   "Return a string with all log entries stored in BACKEND for FILE."
   (if (vc-find-backend-function backend 'print-log)
       (with-current-buffer "*vc*"
-	(vc-call print-log file)
+	(vc-call print-log (list file))
 	(vc-call wash-log file)
 	(buffer-string))))