# HG changeset patch # User Chong Yidong # Date 1181693056 0 # Node ID cabb2521cfd3f98e90199c510bf9f558dab30aec # Parent 62a65204ff7a10f691e8d2458034490506b9772c (custom-theme-directory): Use user-emacs-directory. diff -r 62a65204ff7a -r cabb2521cfd3 lisp/custom.el --- a/lisp/custom.el Wed Jun 13 00:04:04 2007 +0000 +++ b/lisp/custom.el Wed Jun 13 00:04:16 2007 +0000 @@ -1009,10 +1009,7 @@ ;;; Loading themes. (defcustom custom-theme-directory - (if (eq system-type 'ms-dos) - ;; MS-DOS cannot have initial dot. - "~/_emacs.d/" - "~/.emacs.d/") + user-emacs-directory "Directory in which Custom theme files should be written. `load-theme' searches this directory in addition to load-path. The command `customize-create-theme' writes the files it produces