From ec9f0a62bf72630aae48ae220ed0254ebbe64993 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Mon, 20 Feb 2006 15:59:51 +0000 Subject: [PATCH] * custom.el (customize-mark-to-save, customize-mark-as-set): Load the symbol first. --- lisp/ChangeLog | 5 +++++ lisp/custom.el | 2 ++ 2 files changed, 7 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6276c84d09f..c08fa00897d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2006-02-20 Chong Yidong + + * custom.el (customize-mark-to-save, customize-mark-as-set): Load + the symbol first. + 2006-02-20 Juanma Barranquero * buff-menu.el (list-buffers-noselect): Turn also "\n" into a diff --git a/lisp/custom.el b/lisp/custom.el index bdac459daee..15b5b4a815c 100644 --- a/lisp/custom.el +++ b/lisp/custom.el @@ -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)) -- 2.39.2