From: Chong Yidong Date: Wed, 11 Feb 2009 14:47:24 +0000 (+0000) Subject: (dired-add-entry): Avoid munging long-form Dired switches (Bug#2261). X-Git-Tag: emacs-pretest-23.0.91~290 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7f7f59f5c3e1c8a4efe20b9351ee3f0f66b6e12b;p=emacs.git (dired-add-entry): Avoid munging long-form Dired switches (Bug#2261). --- 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." ;; 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.