GNU bug report logs - #7578
23.2.90; [PATCH] Move ESHELL directory inside .emacs.d

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Tue, 7 Dec 2010 10:21:01 UTC

Severity: normal

Tags: patch

Found in version 23.2.90

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 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)





This bug report was last modified 14 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.