From: Leo Liu Date: Thu, 16 Dec 2010 02:26:39 +0000 (+0800) Subject: * eshell/eshell.el (eshell-directory-name): Use locate-user-emacs-file (Bug#7578). X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~1322^2~278^2~100 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bfc49a5bc42a977f2cebb131f3fee57ec8239a84;p=emacs.git * eshell/eshell.el (eshell-directory-name): Use locate-user-emacs-file (Bug#7578). --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3b16df17a13..cdb98b15551 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-12-16 Leo + + * eshell/eshell.el (eshell-directory-name): Use + locate-user-emacs-file (Bug#7578). + 2010-12-15 Glenn Morris * loadup.el (symbol-file-load-history-loaded): Remove; unused. diff --git a/lisp/eshell/eshell.el b/lisp/eshell/eshell.el index 89ec3ab9c60..3c534f049c5 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)