From: Chong Yidong Date: Wed, 13 Jun 2007 00:06:00 +0000 (+0000) Subject: (tutorial--saved-dir): Use user-emacs-directory. X-Git-Tag: emacs-pretest-23.0.90~12330 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c6bd31a9b9089e69d58bf1b8e4465db41ed0a165;p=emacs.git (tutorial--saved-dir): Use user-emacs-directory. --- 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."