From c093939ce94062f071bda8ef06222579476092d4 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Wed, 13 Jun 2007 00:04:32 +0000 Subject: [PATCH] (emacs-session-filename): Use user-emacs-directory. --- lisp/term/x-win.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))))) -- 2.39.2