Support options with embedded whitespace in 'dired-listing-switches'
* lisp/dired.el (dired-listing-switches): Document how to quote options with embedded whitespace. * lisp/files.el (insert-directory): Use split-string-and-unquote to support dired-listing-switches that specify command-line options with embedded spaces. (Bug#25485)
This commit is contained in:
parent
331eb6c915
commit
c71b718be8
2 changed files with 5 additions and 1 deletions
|
@ -6582,7 +6582,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 switches)))
|
||||
(split-string-and-unquote switches)))
|
||||
;; Avoid lossage if FILE starts with `-'.
|
||||
'("--")
|
||||
(progn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue