diff options
| -rw-r--r-- | lisp/dired.el | 9 |
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." | |||
| 970 | (condition-case () | 970 | (condition-case () |
| 971 | (progn | 971 | (progn |
| 972 | (dired-uncache dir) | 972 | (dired-uncache dir) |
| 973 | (dired-insert-subdir dir) | 973 | (dired-insert-subdir dir)) |
| 974 | (let ((switches (cdr (assoc-string dir dired-switches-alist)))) | ||
| 975 | (and switches | ||
| 976 | (string-match "R" switches) | ||
| 977 | (dolist (cur-ass (copy-sequence old-subdir-alist)) | ||
| 978 | (when (dired-in-this-tree (car cur-ass) dir) | ||
| 979 | (setq old-subdir-alist | ||
| 980 | (delete cur-ass old-subdir-alist))))))) | ||
| 981 | (error nil)))))) | 974 | (error nil)))))) |
| 982 | 975 | ||
| 983 | (defun dired-uncache (dir) | 976 | (defun dired-uncache (dir) |