summaryrefslogtreecommitdiff
path: root/lisp/dired.el
diff options
context:
space:
mode:
authorLuc Teirlinck <teirllm@auburn.edu>2004-06-10 19:10:09 +0000
committerLuc Teirlinck <teirllm@auburn.edu>2004-06-10 19:10:09 +0000
commitf817c0fbc4b197cf31b07db511fdfac471f9467d (patch)
treed3a05748f583e4444208e23c40d1bbd7d9b202ce /lisp/dired.el
parent081e43973f868bb7d9542fa21540a225765c6052 (diff)
downloademacs-f817c0fbc4b197cf31b07db511fdfac471f9467d.tar.gz
(dired-insert-old-subdirs): Adapt to fact that the R switch is no
longer stored in `dired-switches-alist'.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r--lisp/dired.el9
1 files changed, 1 insertions, 8 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index f206b03cd26..3d3fd34b5ac 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -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)