diff options
author | Mauro Aranda <maurooaranda@gmail.com> | 2022-02-06 00:38:40 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-02-06 00:38:40 +0100 |
commit | 6278c6a94eacc23aba2f63c7289ecbcd3db6d19a (patch) | |
tree | accb82d98ab952f2935b0488bf0379ca2e122b48 /lisp/emacs-lisp | |
parent | eea93a8aaac30690c6e864f2556010d3b62f4eee (diff) | |
download | emacs-6278c6a94eacc23aba2f63c7289ecbcd3db6d19a.tar.gz emacs-6278c6a94eacc23aba2f63c7289ecbcd3db6d19a.tar.bz2 emacs-6278c6a94eacc23aba2f63c7289ecbcd3db6d19a.zip |
Fix reverting the default face to standard/themed state in GUIs
* lisp/cus-edit.el (custom-face-set, custom-face-mark-to-save)
(custom-face-save): Record the default (standard or themed) attributes
of the default face in a symbol property.
(custom-face-reset-saved, custom-face-mark-to-reset-standard): When
reverting the default face to the standard or themed state, use the
default attributes we recorded, instead of relying in the defface spec
of the default face, since that doesn't give enough information to
reset all attributes, like foreground, family, etc (bug#14635).
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions