| 652 | | (if (and (null old) |
|---|
| 653 | | (boundp symbol)) |
|---|
| 654 | | (setq old |
|---|
| 655 | | (list |
|---|
| 656 | | (list 'standard 'set |
|---|
| 657 | | (if (eq prop 'theme-value) |
|---|
| 658 | | (symbol-value symbol) |
|---|
| 659 | | (list |
|---|
| 660 | | (append |
|---|
| 661 | | '(t) |
|---|
| 662 | | (custom-face-attributes-get symbol nil)))))))) |
|---|
| | 652 | ;; If no custom theme has been applied yet, first save the |
|---|
| | 653 | ;; current values to the 'standard theme. |
|---|
| | 654 | (if (null old) |
|---|
| | 655 | (if (and (eq prop 'theme-value) |
|---|
| | 656 | (boundp symbol)) |
|---|
| | 657 | (setq old |
|---|
| | 658 | (list (list 'standard 'set (symbol-value symbol)))) |
|---|
| | 659 | (if (facep symbol) |
|---|
| | 660 | (setq old (list (list 'standard 'set (list |
|---|
| | 661 | (append '(t) (custom-face-attributes-get symbol nil))))))))) |
|---|