aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2001-06-21 03:22:15 +0000
committerMiles Bader2001-06-21 03:22:15 +0000
commitc2c6918d8f67b3566e1f6502f8f87a29e103af60 (patch)
tree0a032c87bdd46b73799da33e2a0e31f1fac78d8f
parent0ac7bf6c348b2c7776d9caae1d4881c38125698c (diff)
downloademacs-c2c6918d8f67b3566e1f6502f8f87a29e103af60.tar.gz
emacs-c2c6918d8f67b3566e1f6502f8f87a29e103af60.zip
Document the new BUFFER arg to the `shell' command.
-rw-r--r--etc/NEWS7
-rw-r--r--man/misc.texi11
2 files changed, 12 insertions, 6 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 575b62d9709..d25c8599ffe 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -965,6 +965,13 @@ the face used for each string/comment.
965*** A new standard face `font-lock-doc-face'. 965*** A new standard face `font-lock-doc-face'.
966Meant for Lisp docstrings, Javadoc comments and other "documentation in code". 966Meant for Lisp docstrings, Javadoc comments and other "documentation in code".
967 967
968** Changes to Shell mode
969
970*** The `shell' command now accepts an optional argument to specify the buffer
971to use, which defaults to "*shell*". When used interactively, a
972non-default buffer may be specified by giving the `shell' command a
973prefix argument (causing it to prompt for the buffer name).
974
968** Comint (subshell) changes 975** Comint (subshell) changes
969 976
970These changes generally affect all modes derived from comint mode, which 977These changes generally affect all modes derived from comint mode, which
diff --git a/man/misc.texi b/man/misc.texi
index f3f4850b17f..9fb9f3734fd 100644
--- a/man/misc.texi
+++ b/man/misc.texi
@@ -1,5 +1,5 @@
1@c This is part of the Emacs manual. 1@c This is part of the Emacs manual.
2@c Copyright (C) 1985, 86, 87, 93, 94, 95, 97, 2000 2@c Copyright (C) 1985, 86, 87, 93, 94, 95, 97, 2000, 2001
3@c Free Software Foundation, Inc. 3@c Free Software Foundation, Inc.
4@c See file emacs.texi for copying conditions. 4@c See file emacs.texi for copying conditions.
5@iftex 5@iftex
@@ -443,11 +443,10 @@ for time to elapse.
443face @code{comint-highlight-prompt}. This makes it easier to see 443face @code{comint-highlight-prompt}. This makes it easier to see
444previous input lines in the buffer. @xref{Faces}. 444previous input lines in the buffer. @xref{Faces}.
445 445
446 To make multiple subshells, rename the buffer @samp{*shell*} to 446 To make multiple subshells invoke @kbd{M-x shell} with a prefix
447something different using @kbd{M-x rename-uniquely}. Then type @kbd{M-x 447argument (e.g. @kbd{C-u M-x shell}), which will cause it to prompt for
448shell} again to create a new buffer @samp{*shell*} with its own 448a buffer name, and create (or reuse) a subshell in that buffer. All
449subshell. If you rename this buffer as well, you can create a third 449subshells in different buffers run independently and in parallel.
450one, and so on. All the subshells run independently and in parallel.
451 450
452@vindex explicit-shell-file-name 451@vindex explicit-shell-file-name
453@cindex @env{ESHELL} environment variable 452@cindex @env{ESHELL} environment variable