diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-19 16:21:07 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-19 16:21:07 +0200 |
commit | 04f723dec944eaa7b5e99373840a8bf920ba5fdd (patch) | |
tree | 6aeca836bb4c44b11214c84f8f6cd5ac985c1f93 | |
parent | a44432a773f7e131692e3f5c9d765cffeef0739a (diff) | |
download | emacs-04f723dec944eaa7b5e99373840a8bf920ba5fdd.tar.gz |
Fix dired switch (that contain quotes and spaces) parsing
* lisp/files.el (insert-directory): Tokenize shell strings
correctly (bug#18875).
-rw-r--r-- | lisp/files.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el index 875ac553166..77977f14116 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -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)))))) |