diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-09-26 15:15:02 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-09-26 15:15:02 -0700 |
commit | 6aaf07bdd5a760089a21d9bb47ae9ab01f398bc4 (patch) | |
tree | 9e7ec086bc81a2702766d9ebcb5bafe240328de4 | |
parent | 93b9cf41846b40cd050b56f6e83b590330be255e (diff) | |
download | emacs-6aaf07bdd5a760089a21d9bb47ae9ab01f398bc4.tar.gz |
vc-filter-command-function: Abbreviate default value
* lisp/vc/vc-dispatcher.el (vc-filter-command-function): Abbreviate
`(lambda (&rest args) args)' as just `list'.
-rw-r--r-- | lisp/vc/vc-dispatcher.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 |