[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] emacs-25 ef768c7: Cope with multiple overlapping faces
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] emacs-25 ef768c7: Cope with multiple overlapping faces. |
Date: |
Tue, 19 Jan 2016 09:37:09 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> * 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Emacs-diffs] emacs-25 ef768c7: Cope with multiple overlapping faces.,
Stefan Monnier <=