1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

* lisp/vc/vc.el (vc-register): Fix interactive spec (bug#79183).

This commit is contained in:
Sean Whitton 2025-08-06 15:15:57 +01:00
parent f58b738042
commit d1ab95b175

View file

@ -1479,7 +1479,7 @@ itself responsible for the file (usually because other files in that
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)))