Mercurial > emacs
diff lisp/shell.el @ 81340:b612fb999814
(shell): Use user-emacs-directory.
| author | Chong Yidong <cyd@stupidchicken.com> |
|---|---|
| date | Wed, 13 Jun 2007 00:03:49 +0000 |
| parents | 24e13e715a20 |
| children | 8f00c712c722 3619e7770f2e |
line wrap: on
line diff
--- a/lisp/shell.el Wed Jun 13 00:03:39 2007 +0000 +++ b/lisp/shell.el Wed Jun 13 00:03:49 2007 +0000 @@ -557,7 +557,7 @@ (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))
