Mercurial > emacs
diff lisp/subr.el @ 81338:62535fec6ee1
(user-emacs-directory): New defconst.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Wed, 13 Jun 2007 00:03:28 +0000 |
parents | 954d7a5a16f6 |
children | 2f3bcf8fe6fc 9c01792a3ce8 3619e7770f2e |
line wrap: on
line diff
--- a/lisp/subr.el Tue Jun 12 23:58:38 2007 +0000 +++ b/lisp/subr.el Wed Jun 13 00:03:28 2007 +0000 @@ -2041,6 +2041,15 @@ (put 'cl-assertion-failed 'error-conditions '(error)) (put 'cl-assertion-failed 'error-message "Assertion failed") +(defconst user-emacs-directory + (if (eq system-type 'ms-dos) + ;; MS-DOS cannot have initial dot. + "~/_emacs.d/" + "~/.emacs.d/") + "Directory beneath which additional per-user Emacs-specific files are placed. +Various programs in Emacs store information in this directory. +Note that this should end with a directory separator.") + ;;;; Misc. useful functions.