[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7578: 23.2.90; [PATCH] Move ESHELL directory inside .emacs.d
From: |
Leo |
Subject: |
bug#7578: 23.2.90; [PATCH] Move ESHELL directory inside .emacs.d |
Date: |
Tue, 07 Dec 2010 10:26:28 +0000 |
It seems better for emacs not to litter the user's HOME.
commit 3a9f8163e6eeefd00fc6fe5a531049c22c7acf79 (HEAD, refs/heads/leo-main)
Date: Tue Dec 7 10:21:18 2010 +0000
Tweak eshell-directory-name
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)
- bug#7578: 23.2.90; [PATCH] Move ESHELL directory inside .emacs.d,
Leo <=