changeset 69005:652517eb2b23

* custom.el (customize-mark-to-save): Load the symbol's dependencies, so that `standard-value' will be present.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 19 Feb 2006 16:20:21 +0000
parents f4a06252f47c
children e4d97c1f1377
files lisp/ChangeLog lisp/custom.el
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Feb 19 15:50:09 2006 +0000
+++ b/lisp/ChangeLog	Sun Feb 19 16:20:21 2006 +0000
@@ -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>
--- a/lisp/custom.el	Sun Feb 19 15:50:09 2006 +0000
+++ b/lisp/custom.el	Sun Feb 19 16:20:21 2006 +0000
@@ -653,6 +653,7 @@
 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))