diff lisp/dired-aux.el @ 101945:2ee2b248bc62

(dired-add-entry): Avoid munging long-form Dired switches (Bug#2261).
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 11 Feb 2009 14:47:24 +0000
parents a9dc0e7c3f2b
children 143111f3fbb1
line wrap: on
line diff
--- a/lisp/dired-aux.el	Wed Feb 11 14:46:05 2009 +0000
+++ b/lisp/dired-aux.el	Wed Feb 11 14:47:24 2009 +0000
@@ -1074,7 +1074,7 @@
 	      ;; 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.