* eshell/eshell.el (eshell-directory-name): Use locate-user-emacs-file (Bug#7578).

This commit is contained in:
Leo Liu 2010-12-16 10:26:39 +08:00 committed by Chong Yidong
parent 1c708c1a5f
commit bfc49a5bc4
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-12-16 Leo <sdl.web@gmail.com>
* eshell/eshell.el (eshell-directory-name): Use
locate-user-emacs-file (Bug#7578).
2010-12-15 Glenn Morris <rgm@gnu.org>
* loadup.el (symbol-file-load-history-loaded): Remove; unused.

View file

@ -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)