diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2007-06-13 00:03:49 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2007-06-13 00:03:49 +0000 |
commit | f7c94f43045af255bfc735fe467beddc2947bc17 (patch) | |
tree | ee8c3c6e6c7580146cfa3db734f04acfda264615 /lisp/shell.el | |
parent | 5a96c75174b75d53a55b416eddc1f56357be8a48 (diff) | |
download | emacs-f7c94f43045af255bfc735fe467beddc2947bc17.tar.gz |
(shell): Use user-emacs-directory.
Diffstat (limited to 'lisp/shell.el')
-rw-r--r-- | lisp/shell.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/shell.el b/lisp/shell.el index a218981256a..9e07540d9d8 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -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)) |