diff options
| author | Lars Ingebrigtsen | 2022-07-30 15:56:49 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-07-30 15:56:49 +0200 |
| commit | 250dbaa7dd4072639724ef841ff5083127ede028 (patch) | |
| tree | 3845e061b7da9b253fac0da124db590da4a78741 | |
| parent | d34e38f7d14ff45c19102676dc53f5389e8f32f6 (diff) | |
| download | emacs-250dbaa7dd4072639724ef841ff5083127ede028.tar.gz emacs-250dbaa7dd4072639724ef841ff5083127ede028.zip | |
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.)
| -rw-r--r-- | lisp/emacs-lisp/icons.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 207 | (when-let ((font (and (display-multi-font-p) | 207 | (when-let ((font (and (display-multi-font-p) |
| 208 | ;; FIXME: This is not enough for ensuring | 208 | ;; FIXME: This is not enough for ensuring |
| 209 | ;; display of color Emoji. | 209 | ;; display of color Emoji. |
| 210 | (car (internal-char-font nil ?😀))))) | 210 | (car (internal-char-font nil ?🟠))))) |
| 211 | (and (font-has-char-p font (aref icon 0)) | 211 | (and (font-has-char-p font (aref icon 0)) |
| 212 | icon))) | 212 | icon))) |
| 213 | 213 | ||