diff options
| author | Leo Liu | 2010-12-16 10:26:39 +0800 |
|---|---|---|
| committer | Chong Yidong | 2010-12-16 10:26:39 +0800 |
| commit | bfc49a5bc42a977f2cebb131f3fee57ec8239a84 (patch) | |
| tree | bafbd11dc3a81ae3d36b05092a7ba763db17ada1 | |
| parent | 1c708c1a5f859ece6f4926e423e5845577cdffbe (diff) | |
| download | emacs-bfc49a5bc42a977f2cebb131f3fee57ec8239a84.tar.gz emacs-bfc49a5bc42a977f2cebb131f3fee57ec8239a84.zip | |
* eshell/eshell.el (eshell-directory-name): Use locate-user-emacs-file (Bug#7578).
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/eshell/eshell.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3b16df17a13..cdb98b15551 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-12-16 Leo <sdl.web@gmail.com> | ||
| 2 | |||
| 3 | * eshell/eshell.el (eshell-directory-name): Use | ||
| 4 | locate-user-emacs-file (Bug#7578). | ||
| 5 | |||
| 1 | 2010-12-15 Glenn Morris <rgm@gnu.org> | 6 | 2010-12-15 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * loadup.el (symbol-file-load-history-loaded): Remove; unused. | 8 | * 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." | |||
| 285 | "`eshell-buffer-name' is a member of `same-window-buffer-names'" | 285 | "`eshell-buffer-name' is a member of `same-window-buffer-names'" |
| 286 | (member eshell-buffer-name same-window-buffer-names)) | 286 | (member eshell-buffer-name same-window-buffer-names)) |
| 287 | 287 | ||
| 288 | (defcustom eshell-directory-name (convert-standard-filename "~/.eshell/") | 288 | (defcustom eshell-directory-name |
| 289 | (locate-user-emacs-file "eshell/" ".eshell/") | ||
| 289 | "The directory where Eshell control files should be kept." | 290 | "The directory where Eshell control files should be kept." |
| 290 | :type 'directory | 291 | :type 'directory |
| 291 | :group 'eshell) | 292 | :group 'eshell) |