From 4a9ceb4e9d9e0b5a8c45844c8bd1809985e5e3ef Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 19 Feb 2006 16:20:21 +0000 Subject: [PATCH] * custom.el (customize-mark-to-save): Load the symbol's dependencies, so that `standard-value' will be present. --- lisp/ChangeLog | 3 +++ lisp/custom.el | 1 + 2 files changed, 4 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index aea866a4bf6..ce799882a1a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2006-02-19 Chong Yidong + * 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 diff --git a/lisp/custom.el b/lisp/custom.el index 0f95e3bab73..fe2829e644a 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)) -- 2.39.2