summaryrefslogtreecommitdiff
path: root/lisp/shell.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-10-09 15:08:50 +0000
committerRichard M. Stallman <rms@gnu.org>2006-10-09 15:08:50 +0000
commit491bf4bcf4eb49af35d1d7c91296f4584c854094 (patch)
tree08fde68ac5e96f581d55c1f5357b48cd635ec9e5 /lisp/shell.el
parent02de2661d88dd99c71d97978f00690112c0e402d (diff)
downloademacs-491bf4bcf4eb49af35d1d7c91296f4584c854094.tar.gz
Comment change.
Diffstat (limited to 'lisp/shell.el')
-rw-r--r--lisp/shell.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index 316ba0ab244..2adfc79618a 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -288,11 +288,12 @@ Value is a list of strings, which may be nil."
;; Note: There are no explicit references to the variable `explicit-bash-args'.
;; It is used implicitly by M-x shell when the interactive shell is `bash'.
(defcustom explicit-bash-args
- ;; Tell bash not to use readline, except for bash 1.x which doesn't grook --noediting.
- ;; Bash 1.x has -nolineediting, but process-send-eof cannot terminate bash if we use it.
(let* ((prog (or (and (boundp 'explicit-shell-file-name) explicit-shell-file-name)
(getenv "ESHELL") shell-file-name))
(name (file-name-nondirectory prog)))
+ ;; Tell bash not to use readline, except for bash 1.x which
+ ;; doesn't grook --noediting. Bash 1.x has -nolineediting, but
+ ;; process-send-eof cannot terminate bash if we use it.
(if (and (not purify-flag)
(equal name "bash")
(file-executable-p prog)