changeset 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 c1fe31abc35f
children 46cc0fb34421
files lisp/dired-aux.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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.