changeset 56015:e7e7513282b4

(dired-insert-old-subdirs): Adapt to fact that the R switch is no longer stored in `dired-switches-alist'.
author Luc Teirlinck <teirllm@auburn.edu>
date Thu, 10 Jun 2004 19:10:09 +0000
parents def58a71f49d
children 1ab9b3611edc
files lisp/dired.el
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired.el	Thu Jun 10 19:06:14 2004 +0000
+++ b/lisp/dired.el	Thu Jun 10 19:10:09 2004 +0000
@@ -970,14 +970,7 @@
 	  (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)