[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r107118: Fix custom-variable-reset-ba
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r107118: Fix custom-variable-reset-backup's use of customized-value property. |
Date: |
Sun, 05 Feb 2012 23:50:36 +0800 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 107118
fixes bug(s): http://debbugs.gnu.org/6712
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Sun 2012-02-05 23:50:36 +0800
message:
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.
modified:
lisp/ChangeLog
lisp/cus-edit.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-02-05 15:33:30 +0000
+++ b/lisp/ChangeLog 2012-02-05 15:50:36 +0000
@@ -1,5 +1,8 @@
2012-02-05 Chong Yidong <address@hidden>
+ * 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).
=== modified file 'lisp/cus-edit.el'
--- a/lisp/cus-edit.el 2012-02-05 13:41:50 +0000
+++ b/lisp/cus-edit.el 2012-02-05 15:50:36 +0000
@@ -3071,7 +3071,7 @@
(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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r107118: Fix custom-variable-reset-backup's use of customized-value property.,
Chong Yidong <=