Tweak icons.el emoji detection
* lisp/emacs-lisp/icons.el (icons--create): Choose another character that's unlikely to appear in non-Emoji fonts. (Comment left in place since this should be fixed in a less breakable way.)
This commit is contained in:
parent
d34e38f7d1
commit
250dbaa7dd
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ present if the icon is represented by an image."
|
|||
(when-let ((font (and (display-multi-font-p)
|
||||
;; FIXME: This is not enough for ensuring
|
||||
;; display of color Emoji.
|
||||
(car (internal-char-font nil ?😀)))))
|
||||
(car (internal-char-font nil ?🟠)))))
|
||||
(and (font-has-char-p font (aref icon 0))
|
||||
icon)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue