From: Chong Yidong Date: Wed, 13 Jun 2007 00:04:32 +0000 (+0000) Subject: (emacs-session-filename): Use user-emacs-directory. X-Git-Tag: emacs-pretest-23.0.90~12337 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c093939ce94062f071bda8ef06222579476092d4;p=emacs.git (emacs-session-filename): Use user-emacs-directory. --- diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index e48d97d6d1b..4e80589ad43 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -263,7 +263,7 @@ See also `emacs-session-save'.") 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)))))