]> git.eshelyaron.com Git - emacs.git/commit
Fix reverting the default face to standard/themed state in GUIs
authorMauro Aranda <maurooaranda@gmail.com>
Sat, 5 Feb 2022 23:38:40 +0000 (00:38 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 5 Feb 2022 23:38:40 +0000 (00:38 +0100)
commit6278c6a94eacc23aba2f63c7289ecbcd3db6d19a
treeaccb82d98ab952f2935b0488bf0379ca2e122b48
parenteea93a8aaac30690c6e864f2556010d3b62f4eee
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).
lisp/cus-edit.el