Mercurial > emacs
diff lisp/term/x-win.el @ 81343:ce2f9d785f66
(emacs-session-filename): Use user-emacs-directory.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 13 Jun 2007 00:04:32 +0000 |
parents | 318b0d9919a6 |
children | ae5900193a70 9c01792a3ce8 3619e7770f2e |
line wrap: on
line diff
--- a/lisp/term/x-win.el Wed Jun 13 00:04:16 2007 +0000 +++ b/lisp/term/x-win.el Wed Jun 13 00:04:32 2007 +0000 @@ -263,7 +263,7 @@ If the directory ~/.emacs.d exists, we make a filename in there, otherwise a file in the home directory." (let ((basename (concat "session." session-id)) - (emacs-dir "~/.emacs.d/")) + (emacs-dir user-emacs-directory)) (expand-file-name (if (file-directory-p emacs-dir) (concat emacs-dir basename) (concat "~/.emacs-" basename)))))