(dired-add-entry): Avoid munging long-form Dired switches (Bug#2261).
authorChong Yidong <cyd@stupidchicken.com>
Wed, 11 Feb 2009 14:47:24 +0000 (14:47 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 11 Feb 2009 14:47:24 +0000 (14:47 +0000)
lisp/dired-aux.el

index 3bc5f4b..9d34d95 100644 (file)
@@ -1074,7 +1074,7 @@ See Info node `(emacs)Subdir switches' for more details."
              ;; Don't expand `.'.  Show just the file name within directory.
              (let ((default-directory directory))
                (dired-insert-directory directory
-                                       (concat dired-actual-switches "d")
+                                       (concat dired-actual-switches " -d")
                                        (list filename)))
               (goto-char opoint)
              ;; Put in desired marker char.