projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d34e38f
)
Tweak icons.el emoji detection
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 30 Jul 2022 13:56:49 +0000
(15:56 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 30 Jul 2022 13:56:49 +0000
(15:56 +0200)
* 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
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/icons.el
b/lisp/emacs-lisp/icons.el
index c16bb966121c59c92e40e7cf0425cb02c4b506e8..277b285c2ef0bf0a058ef4f020b64416cda9acb3 100644
(file)
--- 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 ?ð
\9f
\98
\80
)))))
+ (car (internal-char-font nil ?ð
\9f
\9f
)))))
(and (font-has-char-p font (aref icon 0))
icon)))