Mercurial > emacs
changeset 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 | cabb2521cfd3 |
children | 7bfbc021abe0 |
files | lisp/term/x-win.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)))))