GNU bug report logs -
#79183
31.0.50; vc-register prefix arg error
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
With emacs -Q, visit any file and say C-u vc-register.
This yields an error: "Wrong type argument: symbolp, 4".
The interactive spec of vc-register seems to be a remnant of a previous
implementation that is no longer applicable, so I suggest simply
removing it:
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index 4cfd1790266..9f65ab187ce 100644
--- a/lisp/vc/vc.el
+++ b/lisp/vc/vc.el
@@ -1752,7 +1752,7 @@ vc-register
directory are already registered under that backend) will be used to
register the file. If no backend declares itself responsible, the
first backend that could register the file is used."
- (interactive "P")
+ (interactive)
(let* ((fileset-arg (or vc-fileset (vc-deduce-fileset nil t)))
(backend (car fileset-arg))
(files (nth 1 fileset-arg)))
Best,
Eshel
This bug report was last modified 3 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.