Commit d4939c66 authored by John Paul Wallington's avatar John Paul Wallington
Browse files

(insert-directory): Remove --dired switch when

`ls-lisp-use-insert-directory-program' is nil.
parent 1d2b9bba
2003-05-14 John Paul Wallington <>
* ls-lisp.el (insert-directory): Remove --dired switch when
`ls-lisp-use-insert-directory-program' is nil.
2003-05-13 Stefan Monnier <>
* textmodes/ispell.el (xemacsp): Remove. Use (featurep 'xemacs).
......@@ -216,6 +216,9 @@ that work are: A a c i r S s t u U X g G B C R and F partly."
(if handler
(funcall handler 'insert-directory file switches
wildcard full-directory-p)
;; Remove --dired switch
(if (string-match "--dired " switches)
(setq switches (replace-match "" nil nil switches)))
;; Convert SWITCHES to a list of characters.
(setq switches (delete ?- (append switches nil)))
(if wildcard
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment