diff lisp/abbrev.el @ 104961:0ea87b098bb0

* custom.el (custom-delayed-init-variables): New var. (custom-initialize-delay): New function. * startup.el (command-line): "Re"evaluate all vars in custom-delayed-init-variables. Don't reevaluate abbrev-file-name explicitly any more. * abbrev.el (abbrev-file-name): Use custom-initialize-delay to avoid creating a ~/.emacs.d at build-time (bug#4347).
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 11 Sep 2009 21:25:44 +0000
parents c4fb8f245750
children 42ca82b4620b
line wrap: on
line diff
--- a/lisp/abbrev.el	Fri Sep 11 21:07:02 2009 +0000
+++ b/lisp/abbrev.el	Fri Sep 11 21:25:44 2009 +0000
@@ -40,7 +40,8 @@
 
 (defcustom abbrev-file-name
   (locate-user-emacs-file "abbrev_defs" ".abbrev_defs")
-  "Default name of file to read abbrevs from."
+  "Default name of file from which to read abbrevs."
+  :initialize 'custom-initialize-delay
   :type 'file)
 
 (defcustom only-global-abbrevs nil