]> git.eshelyaron.com Git - emacs.git/commitdiff
(shell): Look for .emacs_SHELL under ~/.emacs.d after looking in ~.
authorRichard M. Stallman <rms@gnu.org>
Sat, 26 Oct 2002 22:42:12 +0000 (22:42 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 26 Oct 2002 22:42:12 +0000 (22:42 +0000)
lisp/shell.el

index 94df87332659a9c56157cdc4cc658eafdb954238..0eaea9af27f62fcbd5916a4887d53da023e5c319 100644 (file)
@@ -506,6 +506,8 @@ Otherwise, one argument `-i' is passed to the shell.
           (name (file-name-nondirectory prog))
           (startfile (concat "~/.emacs_" name))
           (xargs-name (intern-soft (concat "explicit-" name "-args"))))
+      (if (not (file-exists-p startfile))
+         (setq startfile (concat "~/.emacs.d/.emacs_" name)))
       (apply 'make-comint-in-buffer "shell" buffer prog
             (if (file-exists-p startfile) startfile)
             (if (and xargs-name (boundp xargs-name))