]> git.eshelyaron.com Git - emacs.git/commitdiff
* custom.el (customize-mark-to-save, customize-mark-as-set): Load
authorChong Yidong <cyd@stupidchicken.com>
Mon, 20 Feb 2006 15:59:51 +0000 (15:59 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 20 Feb 2006 15:59:51 +0000 (15:59 +0000)
the symbol first.

lisp/ChangeLog
lisp/custom.el

index 6276c84d09ff90b6de62fd05fb5d096a1bb9e225..c08fa00897d8d21e2e316c50743bc38d3052a98c 100644 (file)
@@ -1,3 +1,8 @@
+2006-02-20  Chong Yidong  <cyd@stupidchicken.com>
+
+       * custom.el (customize-mark-to-save, customize-mark-as-set): Load
+       the symbol first.
+
 2006-02-20  Juanma Barranquero  <lekktu@gmail.com>
 
        * buff-menu.el (list-buffers-noselect): Turn also "\n" into a
index bdac459daee00546e81e7952ec4977c2f25ade30..15b5b4a815c9175f08cc1cd0a15fd59d6f9ae5b4 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))
@@ -681,6 +682,7 @@ or else if it is different from the standard value, set the
 default value.  Otherwise, set it to nil.
 
 Return non-nil iff the `customized-value' property actually changed."
+  (custom-load-symbol symbol)
   (let* ((get (or (get symbol 'custom-get) 'default-value))
         (value (funcall get symbol))
         (customized (get symbol 'customized-value))