Subject: Re: bug#7578: 23.2.90; [PATCH] Move ESHELL directory inside .emacs.d

From: Stefan Monnier <[email-masked]>
Date: Mon, 13 Dec 2010 11:58:39 -0500

> 	Modified lisp/eshell/eshell.el
> diff --git a/lisp/eshell/eshell.el b/lisp/eshell/eshell.el
> index 74f65d2..f8cf9dc 100644
> --- a/lisp/eshell/eshell.el
> +++ b/lisp/eshell/eshell.el
> @@ -285,7 +285,8 @@ shells such as bash, zsh, rc, 4dos."
>    "`eshell-buffer-name' is a member of `same-window-buffer-names'"
>    (member eshell-buffer-name same-window-buffer-names))
 
> -(defcustom eshell-directory-name (convert-standard-filename "~/.eshell/")
> +(defcustom eshell-directory-name
> +  (locate-user-emacs-file "eshell/" ".eshell/")
>    "The directory where Eshell control files should be kept."
>    :type 'directory
>    :group 'eshell)

That's a good change, yes.  Feel free to install it.

        Stefan