]> git.eshelyaron.com Git - emacs.git/commitdiff
More minor changes in shell-related nodes of Emacs manual
authorEli Zaretskii <eliz@gnu.org>
Fri, 11 May 2018 09:39:52 +0000 (12:39 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 11 May 2018 09:39:52 +0000 (12:39 +0300)
* 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.

doc/emacs/misc.texi

index 4aa8e3f700d091f8c96243262e4c4408bf034651..cd9b67bcdee79c619d153df8f8c439ae52defaa7 100644 (file)
@@ -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},