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:
parent
a04d59830e
commit
4df542027f
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user