* lisp/custom.el (custom-push-theme): Quote "changed" custom var entry.
This commit is contained in:
parent
af896da66a
commit
0357c7ae9c
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
2011-03-21 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* custom.el (custom-push-theme): Quote "changed" custom var entry.
|
||||
|
||||
2011-03-21 Leo Liu <sdl.web@gmail.com>
|
||||
|
||||
* ido.el (ido-read-internal): Add ido-selected to history instead
|
||||
|
|
|
@ -849,10 +849,10 @@ See `custom-known-themes' for a list of known themes."
|
|||
;; theme is later disabled.
|
||||
(cond ((and (eq prop 'theme-value)
|
||||
(boundp symbol))
|
||||
(let ((sv (get symbol 'standard-value)))
|
||||
(unless (and sv
|
||||
(equal (eval (car sv)) (symbol-value symbol)))
|
||||
(setq old (list (list 'changed (symbol-value symbol)))))))
|
||||
(let ((sv (get symbol 'standard-value))
|
||||
(val (symbol-value symbol)))
|
||||
(unless (and sv (equal (eval (car sv)) val))
|
||||
(setq old `((changed ,(custom-quote val)))))))
|
||||
((and (facep symbol)
|
||||
(not (face-attr-match-p
|
||||
symbol
|
||||
|
|
Loading…
Add table
Reference in a new issue