mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-10 09:43:26 -08:00
(dired-insert-old-subdirs): Adapt to fact that the R switch is no
longer stored in `dired-switches-alist'.
This commit is contained in:
parent
081e43973f
commit
f817c0fbc4
1 changed files with 1 additions and 8 deletions
|
|
@ -970,14 +970,7 @@ Do so according to the former subdir alist OLD-SUBDIR-ALIST."
|
|||
(condition-case ()
|
||||
(progn
|
||||
(dired-uncache dir)
|
||||
(dired-insert-subdir dir)
|
||||
(let ((switches (cdr (assoc-string dir dired-switches-alist))))
|
||||
(and switches
|
||||
(string-match "R" switches)
|
||||
(dolist (cur-ass (copy-sequence old-subdir-alist))
|
||||
(when (dired-in-this-tree (car cur-ass) dir)
|
||||
(setq old-subdir-alist
|
||||
(delete cur-ass old-subdir-alist)))))))
|
||||
(dired-insert-subdir dir))
|
||||
(error nil))))))
|
||||
|
||||
(defun dired-uncache (dir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue