From 6aaf07bdd5a760089a21d9bb47ae9ab01f398bc4 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 26 Sep 2022 15:15:02 -0700 Subject: [PATCH] vc-filter-command-function: Abbreviate default value * lisp/vc/vc-dispatcher.el (vc-filter-command-function): Abbreviate `(lambda (&rest args) args)' as just `list'. --- lisp/vc/vc-dispatcher.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2