vc-filter-command-function: Abbreviate default value

* lisp/vc/vc-dispatcher.el (vc-filter-command-function): Abbreviate
`(lambda (&rest args) args)' as just `list'.
This commit is contained in:
Sean Whitton 2022-09-26 15:15:02 -07:00
parent 93b9cf4184
commit 6aaf07bdd5

View file

@ -269,7 +269,7 @@ SUCCESS process has a zero exit code."
(declare (indent 0) (debug (def-body)))
`(vc-exec-after (lambda () ,@body)))
(defvar vc-filter-command-function (lambda (&rest args) args)
(defvar vc-filter-command-function #'list
"Function called to transform VC commands before execution.
The function is called inside the buffer in which the command
will be run and is passed the COMMAND, FILE-OR-LIST and FLAGS