diff options
Diffstat (limited to 'lisp/shell.el')
| -rw-r--r-- | lisp/shell.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/shell.el b/lisp/shell.el index 2adfc79618a..d3e23251a1f 100644 --- a/lisp/shell.el +++ b/lisp/shell.el | |||
| @@ -298,7 +298,9 @@ Value is a list of strings, which may be nil." | |||
| 298 | (equal name "bash") | 298 | (equal name "bash") |
| 299 | (file-executable-p prog) | 299 | (file-executable-p prog) |
| 300 | (string-match "bad option" | 300 | (string-match "bad option" |
| 301 | (shell-command-to-string (concat prog " --noediting")))) | 301 | (shell-command-to-string |
| 302 | (concat (shell-quote-argument prog) | ||
| 303 | " --noediting")))) | ||
| 302 | '("-i") | 304 | '("-i") |
| 303 | '("--noediting" "-i"))) | 305 | '("--noediting" "-i"))) |
| 304 | "Args passed to inferior shell by \\[shell], if the shell is bash. | 306 | "Args passed to inferior shell by \\[shell], if the shell is bash. |