From 2520a163cb28a180222fe4421123cc743581b893 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 18 May 2021 18:06:15 -0400 Subject: [PATCH] * 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 adc5672eca9..87a7407a866 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 -- 2.39.5