# HG changeset patch # User Richard M. Stallman # Date 1035672132 0 # Node ID 52a504c502a5bf856b03ce29573556b88ca1c1fe # Parent 68b29ca63a542bf21461b8cc77643d1fdafdc704 (shell): Look for .emacs_SHELL under ~/.emacs.d after looking in ~. diff -r 68b29ca63a54 -r 52a504c502a5 lisp/shell.el --- a/lisp/shell.el Sat Oct 26 22:41:33 2002 +0000 +++ b/lisp/shell.el Sat Oct 26 22:42:12 2002 +0000 @@ -506,6 +506,8 @@ (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))