(shell): Use user-emacs-directory.

This commit is contained in:
Chong Yidong 2007-06-13 00:03:49 +00:00
parent 5a96c75174
commit f7c94f4304

View file

@ -557,7 +557,7 @@ Otherwise, one argument `-i' is passed to the shell.
(startfile (concat "~/.emacs_" name))
(xargs-name (intern-soft (concat "explicit-" name "-args"))))
(unless (file-exists-p startfile)
(setq startfile (concat "~/.emacs.d/init_" name ".sh")))
(setq startfile (concat user-emacs-directory "init_" name ".sh")))
(apply 'make-comint-in-buffer "shell" buffer prog
(if (file-exists-p startfile) startfile)
(if (and xargs-name (boundp xargs-name))