1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(shell): Look for .emacs_SHELL under ~/.emacs.d after looking in ~.

This commit is contained in:
Richard M. Stallman 2002-10-26 22:42:12 +00:00
parent a04d59830e
commit 4df542027f

View File

@ -506,6 +506,8 @@ Otherwise, one argument `-i' is passed to the shell.
(name (file-name-nondirectory prog))
(startfile (concat "~/.emacs_" name))
(xargs-name (intern-soft (concat "explicit-" name "-args"))))
(if (not (file-exists-p startfile))
(setq startfile (concat "~/.emacs.d/.emacs_" name)))
(apply 'make-comint-in-buffer "shell" buffer prog
(if (file-exists-p startfile) startfile)
(if (and xargs-name (boundp xargs-name))