From 82794e942ba60ebf8ab0d4f1990da0101f9b9947 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 30 Jul 2002 20:16:19 +0000 Subject: [PATCH] (explicit-bash-args): New user option. --- lisp/ChangeLog | 4 ++++ lisp/shell.el | 10 +++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 30736305ee4..1549bc20eae 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2002-07-30 Andreas Schwab + + * shell.el (explicit-bash-args): New user option. + 2002-07-29 Dave Love * international/mule-conf.el (non-standard-designations-alist) diff --git a/lisp/shell.el b/lisp/shell.el index a476660cd82..c6f4b8b2be9 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -1,6 +1,6 @@ ;;; shell.el --- specialized comint.el for running the shell -;; Copyright (C) 1988, 93, 94, 95, 96, 1997, 2000 Free Software Foundation, Inc. +;; Copyright (C) 1988, 93, 94, 95, 96, 1997, 2000, 2002 Free Software Foundation, Inc. ;; Author: Olin Shivers ;; Simon Marshall @@ -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). -- 2.39.5