# HG changeset patch # User Richard M. Stallman # Date 1166217416 0 # Node ID 984d68f669d4681b52c5b3a8d98887c3a8a0fa92 # Parent aa3039743d63cc2807eff71c9fed864582de18b0 (shell): Doc fix. diff -r aa3039743d63 -r 984d68f669d4 lisp/shell.el --- a/lisp/shell.el Fri Dec 15 19:05:47 2006 +0000 +++ b/lisp/shell.el Fri Dec 15 21:16:56 2006 +0000 @@ -520,10 +520,11 @@ If BUFFER exists and shell process is running, just switch to BUFFER. Program used comes from variable `explicit-shell-file-name', or (if that is nil) from the ESHELL environment variable, + or (if that is nil) from `shell-file-name' or else from SHELL if there is no ESHELL. If a file `~/.emacs_SHELLNAME' exists, or `~/.emacs.d/init_SHELLNAME.sh', -it is given as initial input (Note that this may lose due to a timing -error if the shell discards input when it starts up). +it is given as initial input (but this may be lost, due to a timing +error, if the shell discards input when it starts up). The buffer is put in Shell mode, giving commands for sending input and controlling the subjobs of the shell. See `shell-mode'. See also the variable `shell-prompt-pattern'.