summaryrefslogtreecommitdiff
path: root/lisp/shell.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2017-08-04 00:05:00 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2017-08-04 00:05:00 -0400
commit28e000435e1dfdc071cd4b68afe8514dcf9b3aa2 (patch)
tree34d996b878f01fb405966b4fea0419883b45ee37 /lisp/shell.el
parente8ca0c5e16a6887691ee3db739abfdba25e0d578 (diff)
downloademacs-28e000435e1dfdc071cd4b68afe8514dcf9b3aa2.tar.gz
emacs-28e000435e1dfdc071cd4b68afe8514dcf9b3aa2.tar.bz2
emacs-28e000435e1dfdc071cd4b68afe8514dcf9b3aa2.zip
* lisp/shell.el (explicit-shell-file-name): Mention shell-file-name
* lisp/files.el (insert-directory): Don't hardcode "-c". * lisp/term.el (term, ansi-term): Use shell-file-name.
Diffstat (limited to 'lisp/shell.el')
-rw-r--r--lisp/shell.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/shell.el b/lisp/shell.el
index c5e5cbbee7e..ea7f0beebb0 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -264,7 +264,9 @@ see the function `dirtrack-mode'."
:group 'shell-directories)
(defcustom explicit-shell-file-name nil
- "If non-nil, is file name to use for explicitly requested inferior shell."
+ "If non-nil, is file name to use for explicitly requested inferior shell.
+When nil, such interactive shell sessions fallback to using either
+the shell specified in $ESHELL or in `shell-file-name'."
:type '(choice (const :tag "None" nil) file)
:group 'shell)