From: Eli Zaretskii Date: Wed, 30 Mar 2022 13:21:02 +0000 (+0300) Subject: Fix regression in 'dired-buffers-for-dir' X-Git-Tag: emacs-28.1~5 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7208106e8143ecc22c5313ddd1ea785fc9086d6b;p=emacs.git Fix regression in 'dired-buffers-for-dir' * lisp/dired.el (dired-buffers-for-dir): Fix inadvertently swapped arguments. (Bug#54636) --- diff --git a/lisp/dired.el b/lisp/dired.el index ede89189154..75dcd33e67c 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -2887,7 +2887,7 @@ As a side effect, killed dired buffers for DIR are removed from ((null (buffer-name buf)) ;; Buffer is killed - clean up: (setq dired-buffers (delq elt dired-buffers))) - ((dired-in-this-tree-p (car elt) dir) + ((dired-in-this-tree-p dir (car elt)) (with-current-buffer buf (when (and (or subdirs (assoc dir dired-subdir-alist))