summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/files.el2
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))))))