diff options
| author | Chong Yidong | 2011-03-21 18:09:52 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-03-21 18:09:52 -0400 |
| commit | 0357c7ae9cf59511c28dccd566b89b5eadc7f62e (patch) | |
| tree | 31dd32d9956fd5013796a7f22235fa74dee40a9b /lisp | |
| parent | af896da66a50ca020c8cb8293c4bf5ddfb0cb448 (diff) | |
| download | emacs-0357c7ae9cf59511c28dccd566b89b5eadc7f62e.tar.gz emacs-0357c7ae9cf59511c28dccd566b89b5eadc7f62e.zip | |
* lisp/custom.el (custom-push-theme): Quote "changed" custom var entry.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/custom.el | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a52abe07b1f..3a4b3feeec6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-03-21 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * custom.el (custom-push-theme): Quote "changed" custom var entry. | ||
| 4 | |||
| 1 | 2011-03-21 Leo Liu <sdl.web@gmail.com> | 5 | 2011-03-21 Leo Liu <sdl.web@gmail.com> |
| 2 | 6 | ||
| 3 | * ido.el (ido-read-internal): Add ido-selected to history instead | 7 | * ido.el (ido-read-internal): Add ido-selected to history instead |
diff --git a/lisp/custom.el b/lisp/custom.el index cf06fe27f4d..4f7826093e8 100644 --- a/lisp/custom.el +++ b/lisp/custom.el | |||
| @@ -849,10 +849,10 @@ See `custom-known-themes' for a list of known themes." | |||
| 849 | ;; theme is later disabled. | 849 | ;; theme is later disabled. |
| 850 | (cond ((and (eq prop 'theme-value) | 850 | (cond ((and (eq prop 'theme-value) |
| 851 | (boundp symbol)) | 851 | (boundp symbol)) |
| 852 | (let ((sv (get symbol 'standard-value))) | 852 | (let ((sv (get symbol 'standard-value)) |
| 853 | (unless (and sv | 853 | (val (symbol-value symbol))) |
| 854 | (equal (eval (car sv)) (symbol-value symbol))) | 854 | (unless (and sv (equal (eval (car sv)) val)) |
| 855 | (setq old (list (list 'changed (symbol-value symbol))))))) | 855 | (setq old `((changed ,(custom-quote val))))))) |
| 856 | ((and (facep symbol) | 856 | ((and (facep symbol) |
| 857 | (not (face-attr-match-p | 857 | (not (face-attr-match-p |
| 858 | symbol | 858 | symbol |