emacs-diffs
[Top][All Lists]
Advanced

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

master 2520a16: * lisp/find-dired.el (find-dired): Use a proper closure


From: Stefan Monnier
Subject: master 2520a16: * lisp/find-dired.el (find-dired): Use a proper closure
Date: Tue, 18 May 2021 18:06:19 -0400 (EDT)

branch: master
commit 2520a163cb28a180222fe4421123cc743581b893
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * lisp/find-dired.el (find-dired): Use a proper closure
---
 lisp/find-dired.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/find-dired.el b/lisp/find-dired.el
index adc5672..87a7407 100644
--- a/lisp/find-dired.el
+++ b/lisp/find-dired.el
@@ -225,8 +225,8 @@ it finishes, type \\[kill-find]."
       (use-local-map map))
     (setq-local dired-sort-inhibit t)
     (setq-local revert-buffer-function
-                `(lambda (ignore-auto noconfirm)
-                   (find-dired ,dir ,find-args)))
+                (lambda (_ignore-auto _noconfirm)
+                  (find-dired dir find-args)))
     ;; Set subdir-alist so that Tree Dired will work:
     (if (fboundp 'dired-simple-subdir-alist)
        ;; will work even with nested dired format (dired-nstd.el,v 1.15



reply via email to

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