emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 6aaf07bdd5: vc-filter-command-function: Abbreviate default value


From: Sean Whitton
Subject: master 6aaf07bdd5: vc-filter-command-function: Abbreviate default value
Date: Mon, 26 Sep 2022 18:16:33 -0400 (EDT)

branch: master
commit 6aaf07bdd5a760089a21d9bb47ae9ab01f398bc4
Author: Sean Whitton <spwhitton@spwhitton.name>
Commit: Sean Whitton <spwhitton@spwhitton.name>

    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 89bf79622e..dc3ed52650 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]