summaryrefslogtreecommitdiff
path: root/lisp/shell.el
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2002-06-28 18:50:36 +0000
committerAndreas Schwab <schwab@suse.de>2002-06-28 18:50:36 +0000
commit6674676b2244d50c1747ac053f5e9a6edcbb4bd7 (patch)
tree49952a93e177377c094555585ddb705450852a72 /lisp/shell.el
parent2768929d660b954a90995a4f6e7c0d12f59929f8 (diff)
downloademacs-6674676b2244d50c1747ac053f5e9a6edcbb4bd7.tar.gz
(explicit-bash-args): New user option.
Diffstat (limited to 'lisp/shell.el')
-rw-r--r--lisp/shell.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index ec52a2f3624..5008a773f30 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -275,6 +275,14 @@ Value is a list of strings, which may be nil."
:type '(repeat (string :tag "Argument"))
:group 'shell)
+(defcustom explicit-bash-args
+ ;; Tell bash not to use readline.
+ '("--noediting" "-i")
+ "*Args passed to inferior shell by M-x shell, if the shell is bash.
+Value is a list of strings, which may be nil."
+ :type '(repeat (string :tag "Argument"))
+ :group 'shell)
+
(defcustom shell-input-autoexpand 'history
"*If non-nil, expand input command history references on completion.
This mirrors the optional behavior of tcsh (its autoexpand and histlit).