changeset 56014:def58a71f49d

(dired-insert-subdir): Do not store R switch in `dired-switches-alist'.
author Luc Teirlinck <teirllm@auburn.edu>
date Thu, 10 Jun 2004 19:06:14 +0000
parents 9b3dfd3380b8
children e7e7513282b4
files lisp/dired-aux.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired-aux.el	Thu Jun 10 08:41:13 2004 +0000
+++ b/lisp/dired-aux.el	Thu Jun 10 19:06:14 2004 +0000
@@ -1812,10 +1812,10 @@
 	(push (cons dirname switches) dired-switches-alist)))
     (when switches-have-R
       (dired-build-subdir-alist switches)
+      (setq switches (dired-replace-in-string "R" "" switches))
       (dolist (cur-ass dired-subdir-alist)
 	(let ((cur-dir (car cur-ass)))
 	  (and (dired-in-this-tree cur-dir dirname)
-	       (not (string= cur-dir dirname))
 	       (let ((cur-cons (assoc-string cur-dir dired-switches-alist)))
 		 (if cur-cons
 		     (setcdr cur-cons switches)