]> git.eshelyaron.com Git - emacs.git/commitdiff
* custom.el (customize-mark-to-save): Load the symbol's
authorChong Yidong <cyd@stupidchicken.com>
Sun, 19 Feb 2006 16:20:21 +0000 (16:20 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 19 Feb 2006 16:20:21 +0000 (16:20 +0000)
dependencies, so that `standard-value' will be present.

lisp/ChangeLog
lisp/custom.el

index aea866a4bf652b0cd8b931a3b9d3051b1166065d..ce799882a1adf2e749c62b648ca0ac78ee6609c8 100644 (file)
@@ -1,5 +1,8 @@
 2006-02-19  Chong Yidong  <cyd@stupidchicken.com>
 
+       * custom.el (customize-mark-to-save): Load the symbol's
+       dependencies, so that `standard-value' will be present.
+
        * cus-edit.el (custom-save-variables): Allow unthemed values.
 
 2006-02-19  Nick Roberts  <nickrob@snap.net.nz>
index 0f95e3bab73d326df17b933ffde1b4e53b1431aa..fe2829e644ac40f0483b024ce99aa8b28dff7aee 100644 (file)
@@ -653,6 +653,7 @@ default value.  Otherwise, set it to nil.
 To actually save the value, call `custom-save-all'.
 
 Return non-nil iff the `saved-value' property actually changed."
+  (custom-load-symbol symbol)
   (let* ((get (or (get symbol 'custom-get) 'default-value))
         (value (funcall get symbol))
         (saved (get symbol 'saved-value))