Mercurial > emacs
comparison man/misc.texi @ 74447:b57213679354
(Interactive Shell): Mention the alternative to `~/.emacs_SHELLNAME',
which is `~/.emacs.d/init_SHELLNAME.sh'.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 05 Dec 2006 14:27:41 +0000 |
parents | 217e6137471a |
children | ad8a70083559 f1d13e615070 |
comparison
equal
deleted
inserted
replaced
74446:cc077225d97f | 74447:b57213679354 |
---|---|
476 | 476 |
477 Emacs sends the new shell the contents of the file | 477 Emacs sends the new shell the contents of the file |
478 @file{~/.emacs_@var{shellname}} as input, if it exists, where | 478 @file{~/.emacs_@var{shellname}} as input, if it exists, where |
479 @var{shellname} is the name of the file that the shell was loaded | 479 @var{shellname} is the name of the file that the shell was loaded |
480 from. For example, if you use bash, the file sent to it is | 480 from. For example, if you use bash, the file sent to it is |
481 @file{~/.emacs_bash}. | 481 @file{~/.emacs_bash}. If this file is not found, Emacs tries to fallback |
482 on @file{~/.emacs.d/init_@var{shellname}.sh}. | |
482 | 483 |
483 To specify a coding system for the shell, you can use the command | 484 To specify a coding system for the shell, you can use the command |
484 @kbd{C-x @key{RET} c} immediately before @kbd{M-x shell}. You can | 485 @kbd{C-x @key{RET} c} immediately before @kbd{M-x shell}. You can |
485 also change the coding system for a running subshell by typing | 486 also change the coding system for a running subshell by typing |
486 @kbd{C-x @key{RET} p} in the shell buffer. @xref{Communication | 487 @kbd{C-x @key{RET} p} in the shell buffer. @xref{Communication |