More minor changes in shell-related nodes of Emacs manual
* doc/emacs/misc.texi (Interactive Shell): Clarify how the window that displays "*shell*" is selected. (Shell Prompts): Fix a typo. Reported by Jorge <jorge+list@disroot.org> in emacs-manual-bugs.
This commit is contained in:
parent
e6bf19cfff
commit
c9c0e40d67
1 changed files with 3 additions and 2 deletions
|
@ -784,7 +784,8 @@ text in the buffer. To give input to the subshell, go to the end of
|
||||||
the buffer and type the input, terminated by @key{RET}.
|
the buffer and type the input, terminated by @key{RET}.
|
||||||
|
|
||||||
By default, when the subshell is invoked interactively, the
|
By default, when the subshell is invoked interactively, the
|
||||||
@file{*shell*} buffer is displayed in a new window. This behavior can
|
@file{*shell*} buffer is displayed in a new window, unless the current
|
||||||
|
window already shows the @file{*shell*} buffer. This behavior can
|
||||||
be customized via @code{display-buffer-alist} (@pxref{Window Choice}).
|
be customized via @code{display-buffer-alist} (@pxref{Window Choice}).
|
||||||
|
|
||||||
While the subshell is waiting or running a command, you can switch
|
While the subshell is waiting or running a command, you can switch
|
||||||
|
@ -1071,7 +1072,7 @@ Emacs Lisp Reference Manual}).
|
||||||
@vindex comint-use-prompt-regexp
|
@vindex comint-use-prompt-regexp
|
||||||
@vindex shell-prompt-pattern
|
@vindex shell-prompt-pattern
|
||||||
If you change the variable @code{comint-use-prompt-regexp} to a
|
If you change the variable @code{comint-use-prompt-regexp} to a
|
||||||
non-@code{nil} value, then Comint mode recognize prompts using a
|
non-@code{nil} value, then Comint mode will recognize prompts using a
|
||||||
regular expression (@pxref{Regexps}). In Shell mode, the regular
|
regular expression (@pxref{Regexps}). In Shell mode, the regular
|
||||||
expression is specified by the variable @code{shell-prompt-pattern}.
|
expression is specified by the variable @code{shell-prompt-pattern}.
|
||||||
The default value of @code{comint-use-prompt-regexp} is @code{nil},
|
The default value of @code{comint-use-prompt-regexp} is @code{nil},
|
||||||
|
|
Loading…
Add table
Reference in a new issue