aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2007-07-20 00:19:49 +0000
committerDan Nicolaescu2007-07-20 00:19:49 +0000
commitee2f409bc14c0b2be3c64bf81ed29a07d8e38c44 (patch)
tree8ba492759809628446e95cade370cbef3b549254
parenta6ea7ffc2002875c2e396a90f57f5d106fd0fab4 (diff)
downloademacs-ee2f409bc14c0b2be3c64bf81ed29a07d8e38c44.tar.gz
emacs-ee2f409bc14c0b2be3c64bf81ed29a07d8e38c44.zip
(vc-print-log): Fix call to print-log.
(vc-default-comment-history): Likewise.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/vc.el4
2 files changed, 4 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index dca9dd64364..9f8989bcc12 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -9,6 +9,8 @@
9 (vc-hg-create-repo): Fix typos. 9 (vc-hg-create-repo): Fix typos.
10 10
11 * vc.el: Fix typo. 11 * vc.el: Fix typo.
12 (vc-print-log): Fix call to print-log.
13 (vc-default-comment-history): Likewise.
12 14
13 * vc-mcvs.el (vc-mcvs-create-repo): Fix typos. 15 * vc-mcvs.el (vc-mcvs-create-repo): Fix typos.
14 16
diff --git a/lisp/vc.el b/lisp/vc.el
index b5ae94d8bdd..91caef0f4d6 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -2505,7 +2505,7 @@ If FOCUS-REV is non-nil, leave the point at that revision."
2505 ;; buffer can be accessed by the command. 2505 ;; buffer can be accessed by the command.
2506 (condition-case err 2506 (condition-case err
2507 (progn 2507 (progn
2508 (vc-call print-log file "*vc-change-log*") 2508 (vc-call print-log (list file) "*vc-change-log*")
2509 (set-buffer "*vc-change-log*")) 2509 (set-buffer "*vc-change-log*"))
2510 (wrong-number-of-arguments 2510 (wrong-number-of-arguments
2511 ;; If this error came from the above call to print-log, try again 2511 ;; If this error came from the above call to print-log, try again
@@ -2547,7 +2547,7 @@ If FOCUS-REV is non-nil, leave the point at that revision."
2547 "Return a string with all log entries stored in BACKEND for FILE." 2547 "Return a string with all log entries stored in BACKEND for FILE."
2548 (if (vc-find-backend-function backend 'print-log) 2548 (if (vc-find-backend-function backend 'print-log)
2549 (with-current-buffer "*vc*" 2549 (with-current-buffer "*vc*"
2550 (vc-call print-log file) 2550 (vc-call print-log (list file))
2551 (vc-call wash-log file) 2551 (vc-call wash-log file)
2552 (buffer-string)))) 2552 (buffer-string))))
2553 2553