]> git.eshelyaron.com Git - emacs.git/commitdiff
(shell): Use user-emacs-directory.
authorChong Yidong <cyd@stupidchicken.com>
Wed, 13 Jun 2007 00:03:49 +0000 (00:03 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 13 Jun 2007 00:03:49 +0000 (00:03 +0000)
lisp/shell.el

index a218981256afaaf03815ec986c7b85a16f3adf1e..9e07540d9d8776936f940c836aa035e700d20778 100644 (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))