summaryrefslogtreecommitdiff
path: root/lisp/tutorial.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2007-06-13 00:06:00 +0000
committerChong Yidong <cyd@stupidchicken.com>2007-06-13 00:06:00 +0000
commitc6bd31a9b9089e69d58bf1b8e4465db41ed0a165 (patch)
tree7e131c7ab34f4f0af093a8697e7bdbd0765fe61c /lisp/tutorial.el
parente3af1e5d00b695917837b5ed4a7a07ba8160dbdf (diff)
downloademacs-c6bd31a9b9089e69d58bf1b8e4465db41ed0a165.tar.gz
(tutorial--saved-dir): Use user-emacs-directory.
Diffstat (limited to 'lisp/tutorial.el')
-rw-r--r--lisp/tutorial.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/tutorial.el b/lisp/tutorial.el
index 384b9b8415c..7c97579ab6e 100644
--- a/lisp/tutorial.el
+++ b/lisp/tutorial.el
@@ -623,8 +623,7 @@ with some explanatory links."
(defun tutorial--saved-dir ()
"Directory to which tutorials are saved."
- (expand-file-name "tutorial"
- (if (eq system-type 'ms-dos) "~/_emacs.d/" "~/.emacs.d/")))
+ (expand-file-name "tutorial" user-emacs-directory))
(defun tutorial--saved-file ()
"File name in which to save tutorials."