changeset 81350:e345103787bc

(tutorial--saved-dir): Use user-emacs-directory.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 13 Jun 2007 00:06:00 +0000
parents f067f47d359f
children 0e3f82f9067d
files lisp/tutorial.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/tutorial.el	Wed Jun 13 00:05:47 2007 +0000
+++ b/lisp/tutorial.el	Wed Jun 13 00:06:00 2007 +0000
@@ -623,8 +623,7 @@
 
 (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."