Commit f7c94f43 authored by Chong Yidong's avatar Chong Yidong
Browse files

(shell): Use user-emacs-directory.

parent 5a96c751
...@@ -557,7 +557,7 @@ Otherwise, one argument `-i' is passed to the shell. ...@@ -557,7 +557,7 @@ Otherwise, one argument `-i' is passed to the shell.
(startfile (concat "~/.emacs_" name)) (startfile (concat "~/.emacs_" name))
(xargs-name (intern-soft (concat "explicit-" name "-args")))) (xargs-name (intern-soft (concat "explicit-" name "-args"))))
(unless (file-exists-p startfile) (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 (apply 'make-comint-in-buffer "shell" buffer prog
(if (file-exists-p startfile) startfile) (if (file-exists-p startfile) startfile)
(if (and xargs-name (boundp xargs-name)) (if (and xargs-name (boundp xargs-name))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment