]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/find-dired.el (find-dired): Use a proper closure
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 18 May 2021 22:06:15 +0000 (18:06 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 18 May 2021 22:06:15 +0000 (18:06 -0400)
lisp/find-dired.el

index adc5672eca99659b34748c04a57ff5d9cf1ea0c3..87a7407a86657732fb7a3c2370697f8b6704568a 100644 (file)
@@ -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