Mercurial > emacs
changeset 81340:b612fb999814
(shell): Use user-emacs-directory.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 13 Jun 2007 00:03:49 +0000 |
parents | d8ee6aceb564 |
children | 62a65204ff7a |
files | lisp/shell.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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))