[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C-x v a encounter an error
From: |
Stefan Monnier |
Subject: |
Re: C-x v a encounter an error |
Date: |
Tue, 23 Oct 2007 22:36:14 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
> Wrong number of arguments: #[(backend files)
> [default-directory small-temporary-file-directory temporary-file-directory
> user-login-name add-log-full-name add-log-mailing-address find-change-log
> make-temp-file expand-file-name "vc" ...] 16
> ("/usr/local/share/emacs/23.0.60/lisp/vc.elc" . 77699)], 1
> emacs version: GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
Thanks. I believe I fixed this with the patch below,
Stefan
Index: lisp/vc.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/vc.el,v
retrieving revision 1.475
diff -u -r1.475 vc.el
--- lisp/vc.el 20 Oct 2007 20:59:36 -0000 1.475
+++ lisp/vc.el 24 Oct 2007 02:31:10 -0000
@@ -2935,7 +2935,7 @@
(defalias 'vc-rcs-update-changelog 'vc-update-changelog-rcs2log)
;; FIXME: This should probably be moved to vc-rcs.el and replaced in
;; vc-cvs.el by code using cvs2cl.
-(defun vc-update-changelog-rcs2log (backend files)
+(defun vc-update-changelog-rcs2log (files)
"Default implementation of update-changelog.
Uses `rcs2log' which only works for RCS and CVS."
;; FIXME: We (c|sh)ould add support for cvs2cl