aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/files.el2
-rw-r--r--lisp/shell.el4
-rw-r--r--lisp/term.el6
3 files changed, 6 insertions, 6 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 96647fb2626..89f6f9f44dc 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -6701,7 +6701,7 @@ normally equivalent short `-D' option is just passed on to
6701 ;; See eg dired-safe-switches-p. 6701 ;; See eg dired-safe-switches-p.
6702 (call-process 6702 (call-process
6703 shell-file-name nil t nil 6703 shell-file-name nil t nil
6704 "-c" 6704 shell-command-switch
6705 (concat (if (memq system-type '(ms-dos windows-nt)) 6705 (concat (if (memq system-type '(ms-dos windows-nt))
6706 "" 6706 ""
6707 "\\") ; Disregard Unix shell aliases! 6707 "\\") ; Disregard Unix shell aliases!
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'."
264 :group 'shell-directories) 264 :group 'shell-directories)
265 265
266(defcustom explicit-shell-file-name nil 266(defcustom explicit-shell-file-name nil
267 "If non-nil, is file name to use for explicitly requested inferior shell." 267 "If non-nil, is file name to use for explicitly requested inferior shell.
268When nil, such interactive shell sessions fallback to using either
269the shell specified in $ESHELL or in `shell-file-name'."
268 :type '(choice (const :tag "None" nil) file) 270 :type '(choice (const :tag "None" nil) file)
269 :group 'shell) 271 :group 'shell)
270 272
diff --git a/lisp/term.el b/lisp/term.el
index 063a6ea592f..5eb7b3e8ede 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -1354,8 +1354,7 @@ commands to use in that buffer.
1354 (interactive (list (read-from-minibuffer "Run program: " 1354 (interactive (list (read-from-minibuffer "Run program: "
1355 (or explicit-shell-file-name 1355 (or explicit-shell-file-name
1356 (getenv "ESHELL") 1356 (getenv "ESHELL")
1357 (getenv "SHELL") 1357 shell-file-name))))
1358 "/bin/sh"))))
1359 (set-buffer (make-term "terminal" program)) 1358 (set-buffer (make-term "terminal" program))
1360 (term-mode) 1359 (term-mode)
1361 (term-char-mode) 1360 (term-char-mode)
@@ -4149,8 +4148,7 @@ the process. Any more args are arguments to PROGRAM."
4149 (interactive (list (read-from-minibuffer "Run program: " 4148 (interactive (list (read-from-minibuffer "Run program: "
4150 (or explicit-shell-file-name 4149 (or explicit-shell-file-name
4151 (getenv "ESHELL") 4150 (getenv "ESHELL")
4152 (getenv "SHELL") 4151 shell-file-name))))
4153 "/bin/sh"))))
4154 4152
4155 ;; Pick the name of the new buffer. 4153 ;; Pick the name of the new buffer.
4156 (setq term-ansi-buffer-name 4154 (setq term-ansi-buffer-name