diff options
author | Chong Yidong <cyd@gnu.org> | 2012-02-05 23:50:36 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-02-05 23:50:36 +0800 |
commit | 5c2a252fadc5e9129d34393688171e221cbb10ca (patch) | |
tree | f26a5573a0e3413a909f0d8c4e3ef08506b66b5b /lisp/cus-edit.el | |
parent | aa4589a7cfb435c704549855b1f19e335bcf3b20 (diff) | |
download | emacs-5c2a252fadc5e9129d34393688171e221cbb10ca.tar.gz emacs-5c2a252fadc5e9129d34393688171e221cbb10ca.tar.bz2 emacs-5c2a252fadc5e9129d34393688171e221cbb10ca.zip |
Fix custom-variable-reset-backup's use of customized-value property.
* cus-edit.el (custom-variable-reset-backup): Quote the value
before storing it in the customized-value property.
Fixes: debbugs:6712
Diffstat (limited to 'lisp/cus-edit.el')
-rw-r--r-- | lisp/cus-edit.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index d7b1b6f94fb..e4d87b89450 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el @@ -3071,7 +3071,7 @@ to switch between two values." (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) |