From 250dbaa7dd4072639724ef841ff5083127ede028 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 30 Jul 2022 15:56:49 +0200 Subject: [PATCH] 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.) --- lisp/emacs-lisp/icons.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/icons.el b/lisp/emacs-lisp/icons.el index c16bb966121..277b285c2ef 100644 --- a/lisp/emacs-lisp/icons.el +++ b/lisp/emacs-lisp/icons.el @@ -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))) -- 2.39.2