mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-07 15:21:46 +00:00
Fix regression in 'dired-buffers-for-dir'
* lisp/dired.el (dired-buffers-for-dir): Fix inadvertently swapped arguments. (Bug#54636)
This commit is contained in:
parent
968af794ba
commit
7208106e81
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user