diff options
| -rw-r--r-- | lisp/dired.el | 4 | ||||
| -rw-r--r-- | lisp/files.el | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index 350f6a7d2e3..2733372eb7b 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -59,6 +59,10 @@ | |||
| 59 | May contain all other options that don't contradict `-l'; | 59 | May contain all other options that don't contradict `-l'; |
| 60 | may contain even `F', `b', `i' and `s'. See also the variable | 60 | may contain even `F', `b', `i' and `s'. See also the variable |
| 61 | `dired-ls-F-marks-symlinks' concerning the `F' switch. | 61 | `dired-ls-F-marks-symlinks' concerning the `F' switch. |
| 62 | Options that include embedded whitespace must be quoted | ||
| 63 | like this: \\\"--option=value with spaces\\\"; you can use | ||
| 64 | `combine-and-quote-strings' to produce the correct quoting of | ||
| 65 | each option. | ||
| 62 | On systems such as MS-DOS and MS-Windows, which use `ls' emulation in Lisp, | 66 | On systems such as MS-DOS and MS-Windows, which use `ls' emulation in Lisp, |
| 63 | some of the `ls' switches are not supported; see the doc string of | 67 | some of the `ls' switches are not supported; see the doc string of |
| 64 | `insert-directory' in `ls-lisp.el' for more details." | 68 | `insert-directory' in `ls-lisp.el' for more details." |
diff --git a/lisp/files.el b/lisp/files.el index 2833ec5c124..03d6df4c037 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -6582,7 +6582,7 @@ normally equivalent short `-D' option is just passed on to | |||
| 6582 | (unless (equal switches "") | 6582 | (unless (equal switches "") |
| 6583 | ;; Split the switches at any spaces so we can | 6583 | ;; Split the switches at any spaces so we can |
| 6584 | ;; pass separate options as separate args. | 6584 | ;; pass separate options as separate args. |
| 6585 | (split-string switches))) | 6585 | (split-string-and-unquote switches))) |
| 6586 | ;; Avoid lossage if FILE starts with `-'. | 6586 | ;; Avoid lossage if FILE starts with `-'. |
| 6587 | '("--") | 6587 | '("--") |
| 6588 | (progn | 6588 | (progn |