* Re: [Emacs-diffs] emacs-25 ef768c7: Cope with multiple overlapping faces.
[not found] ` <E1aLVjB-0004yC-L2@vcs.savannah.gnu.org>
@ 2016-01-19 14:37 ` Stefan Monnier
0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2016-01-19 14:37 UTC (permalink / raw)
To: emacs-devel; +Cc: Phillip Lord
> * lisp/htmlfontify.el (hfy-face-to-style-i): Treat inheritance right to
> left.
> (hfy-face-resolve-face): Handle font specification as well as font
> name. Documentation update. (Bug#21990)
I think even better would be to make the code use Emacs's own
face-inheritance code. Not sure how that could work, but maybe
something like
(let ((tempface (make-symbol)))
(make-face tempface)
(face-set-attribute :inherit foo)
(face-get-attribute ...))
[ Probably combined with some caching to avoid creating the same
temp-face repeatedly. ]
Stefan
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-19 14:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20160119124941.19061.82303@vcs.savannah.gnu.org>
[not found] ` <E1aLVjB-0004yC-L2@vcs.savannah.gnu.org>
2016-01-19 14:37 ` [Emacs-diffs] emacs-25 ef768c7: Cope with multiple overlapping faces Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.