* cus-edit.el (custom-variable-reset-backup): Quote the value
before storing it in the customized-value property.
Fixes: debbugs:6712
2012-02-05 Chong Yidong <cyd@gnu.org>
+ * cus-edit.el (custom-variable-reset-backup): Quote the value
+ before storing it in the customized-value property (Bug#6712).
+
* wid-edit.el (widget-field-value-get): New optional arg to
suppress trailing whitespace truncation.
(character): Use it (Bug#2689).
(funcall set symbol (car value))
(error nil)))
(error "No backup value for %s" symbol))
- (put symbol 'customized-value (list (car value)))
+ (put symbol 'customized-value (list (custom-quote (car value))))
(put symbol 'variable-comment comment)
(put symbol 'customized-variable-comment comment)
(custom-variable-state-set widget)