From: Sean Whitton Date: Mon, 26 Sep 2022 22:15:02 +0000 (-0700) Subject: vc-filter-command-function: Abbreviate default value X-Git-Tag: emacs-29.0.90~1856^2~204 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6aaf07bdd5a760089a21d9bb47ae9ab01f398bc4;p=emacs.git vc-filter-command-function: Abbreviate default value * lisp/vc/vc-dispatcher.el (vc-filter-command-function): Abbreviate `(lambda (&rest args) args)' as just `list'. --- diff --git a/lisp/vc/vc-dispatcher.el b/lisp/vc/vc-dispatcher.el index 89bf79622e8..dc3ed526506 100644 --- a/lisp/vc/vc-dispatcher.el +++ b/lisp/vc/vc-dispatcher.el @@ -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