Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c093939c
Commit
c093939c
authored
Jun 13, 2007
by
Chong Yidong
Browse files
(emacs-session-filename): Use user-emacs-directory.
parent
63212d45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/term/x-win.el
lisp/term/x-win.el
+1
-1
No files found.
lisp/term/x-win.el
View file @
c093939c
...
...
@@ -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
)))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment