aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2009-02-11 14:47:24 +0000
committerChong Yidong2009-02-11 14:47:24 +0000
commit7f7f59f5c3e1c8a4efe20b9351ee3f0f66b6e12b (patch)
tree00dbbf1892f1a8db7d98af1cbe4b128489f18910
parentca901d779fab58980ca8ad0ad700041d7c99cb11 (diff)
downloademacs-7f7f59f5c3e1c8a4efe20b9351ee3f0f66b6e12b.tar.gz
emacs-7f7f59f5c3e1c8a4efe20b9351ee3f0f66b6e12b.zip
(dired-add-entry): Avoid munging long-form Dired switches (Bug#2261).
-rw-r--r--lisp/dired-aux.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 3bc5f4bb2d9..9d34d9542dc 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -1074,7 +1074,7 @@ See Info node `(emacs)Subdir switches' for more details."
1074 ;; Don't expand `.'. Show just the file name within directory. 1074 ;; Don't expand `.'. Show just the file name within directory.
1075 (let ((default-directory directory)) 1075 (let ((default-directory directory))
1076 (dired-insert-directory directory 1076 (dired-insert-directory directory
1077 (concat dired-actual-switches "d") 1077 (concat dired-actual-switches " -d")
1078 (list filename))) 1078 (list filename)))
1079 (goto-char opoint) 1079 (goto-char opoint)
1080 ;; Put in desired marker char. 1080 ;; Put in desired marker char.