aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2007-06-13 00:03:28 +0000
committerChong Yidong2007-06-13 00:03:28 +0000
commitd8869c65a3c39770c53e0b3294f64424932d241f (patch)
treefe041802cb7f5d44bc169357c2dc0039120aecbc
parentd44446912ab257aa2c74bd87d52d5b1cfebabfc2 (diff)
downloademacs-d8869c65a3c39770c53e0b3294f64424932d241f.tar.gz
emacs-d8869c65a3c39770c53e0b3294f64424932d241f.zip
(user-emacs-directory): New defconst.
-rw-r--r--lisp/subr.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index a05c1d15780..7ce7071f2f7 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2041,6 +2041,15 @@ On other systems, this variable is normally always nil.")
2041(put 'cl-assertion-failed 'error-conditions '(error)) 2041(put 'cl-assertion-failed 'error-conditions '(error))
2042(put 'cl-assertion-failed 'error-message "Assertion failed") 2042(put 'cl-assertion-failed 'error-message "Assertion failed")
2043 2043
2044(defconst user-emacs-directory
2045 (if (eq system-type 'ms-dos)
2046 ;; MS-DOS cannot have initial dot.
2047 "~/_emacs.d/"
2048 "~/.emacs.d/")
2049 "Directory beneath which additional per-user Emacs-specific files are placed.
2050Various programs in Emacs store information in this directory.
2051Note that this should end with a directory separator.")
2052
2044 2053
2045;;;; Misc. useful functions. 2054;;;; Misc. useful functions.
2046 2055