]> git.eshelyaron.com Git - emacs.git/commitdiff
(Interactive Shell): Mention the alternative to `~/.emacs_SHELLNAME',
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 5 Dec 2006 14:27:41 +0000 (14:27 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 5 Dec 2006 14:27:41 +0000 (14:27 +0000)
which is `~/.emacs.d/init_SHELLNAME.sh'.

man/misc.texi

index d8511354577c3f81b8334f328f05aed8933355bc..da8c3179b916970f6648e15d0f7206cece152414 100644 (file)
@@ -478,7 +478,8 @@ either or both of these default initializations.
 @file{~/.emacs_@var{shellname}} as input, if it exists, where
 @var{shellname} is the name of the file that the shell was loaded
 from.  For example, if you use bash, the file sent to it is
-@file{~/.emacs_bash}.
+@file{~/.emacs_bash}.  If this file is not found, Emacs tries to fallback
+on @file{~/.emacs.d/init_@var{shellname}.sh}.
 
   To specify a coding system for the shell, you can use the command
 @kbd{C-x @key{RET} c} immediately before @kbd{M-x shell}.  You can