Fix dired switch (that contain quotes and spaces) parsing
* lisp/files.el (insert-directory): Tokenize shell strings correctly (bug#18875).
This commit is contained in:
parent
a44432a773
commit
04f723dec9
1 changed files with 1 additions and 1 deletions
|
|
@ -7463,7 +7463,7 @@ normally equivalent short `-D' option is just passed on to
|
|||
(unless (equal switches "")
|
||||
;; Split the switches at any spaces so we can
|
||||
;; pass separate options as separate args.
|
||||
(split-string-and-unquote switches)))
|
||||
(split-string-shell-command switches)))
|
||||
;; Avoid lossage if FILE starts with `-'.
|
||||
'("--")
|
||||
(list file))))))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue