chiark / gitweb /
el/dot-emacs.el: More assertive zapping of faces.
authorMark Wooding <mwooding@good.com>
Tue, 22 Mar 2016 13:39:22 +0000 (13:39 +0000)
committerMark Wooding <mwooding@good.com>
Tue, 22 Mar 2016 13:47:37 +0000 (13:47 +0000)
commitbc149706bc4815de68df7401987e75999ae4dcd7
treecb4f6f96432b3c04f9337e0c2a109708f7411a34
parent8bf730c6637646109e668181faf19dc2013f17b2
el/dot-emacs.el: More assertive zapping of faces.

If someone fiddles with a face using `set-face-attribute' or similar,
then things seem to work in the initial frame but then look wrong in
frames opened later.

There isn't an obvious way to reset a face to its initial bare state.
So do it the not-obvious way: make a face which is guaranteed to be in
its initial, unsullied state and copy that over the top of the target
face.
el/dot-emacs.el