From: Eli Zaretskii Date: Fri, 11 May 2018 09:39:52 +0000 (+0300) Subject: More minor changes in shell-related nodes of Emacs manual X-Git-Tag: emacs-26.1~36 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c9c0e40;p=emacs.git 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 in emacs-manual-bugs. --- diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 4aa8e3f700d..cd9b67bcdee 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -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}. 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}). 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 shell-prompt-pattern 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 expression is specified by the variable @code{shell-prompt-pattern}. The default value of @code{comint-use-prompt-regexp} is @code{nil},