[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/shell.el
From: |
Kim F. Storm |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/shell.el |
Date: |
Thu, 31 Oct 2002 18:37:16 -0500 |
Index: emacs/lisp/shell.el
diff -c emacs/lisp/shell.el:1.116 emacs/lisp/shell.el:1.117
*** emacs/lisp/shell.el:1.116 Sat Oct 26 18:42:12 2002
--- emacs/lisp/shell.el Thu Oct 31 18:37:15 2002
***************
*** 276,283 ****
: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"))
--- 276,293 ----
:group 'shell)
(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)))
! (if (and (not purify-flag)
! (equal name "bash")
! (file-executable-p prog)
! (string-match "bad option"
! (shell-command-to-string (concat prog "
--noediting"))))
! '("-i")
! '("--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"))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/shell.el,
Kim F. Storm <=