aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2021-10-29 09:19:51 -0700
committerGlenn Morris2021-10-29 09:19:51 -0700
commit502a00b8b91d68ee6cbd0dfec40ac409ec08e67a (patch)
treeab5aa1deae3279dd50888561b2de2b741025668c /src
parent288e8bba81d9921a9b34627e6641afa74e41b49d (diff)
parent7e2b973d60cfd30f1828fabd8d9f33127f24e54a (diff)
downloademacs-502a00b8b91d68ee6cbd0dfec40ac409ec08e67a.tar.gz
emacs-502a00b8b91d68ee6cbd0dfec40ac409ec08e67a.zip
Merge from origin/emacs-28
7e2b973d60 * lisp/textmodes/text-mode.el (text-mode-context-menu): Re... da6d889e90 ; * etc/NEWS: Use active voice for 'repeat-mode', etc. e3171e7e86 Allow automatic use of color fonts for emoji on macOS # Conflicts: # etc/NEWS
Diffstat (limited to 'src')
-rw-r--r--src/macfont.m8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/macfont.m b/src/macfont.m
index d86f09f4850..78ed5d53f39 100644
--- a/src/macfont.m
+++ b/src/macfont.m
@@ -2415,8 +2415,12 @@ macfont_list (struct frame *f, Lisp_Object spec)
2415 continue; 2415 continue;
2416 2416
2417 /* Don't use a color bitmap font unless its family is 2417 /* Don't use a color bitmap font unless its family is
2418 explicitly specified. */ 2418 explicitly specified or we're looking for a font for
2419 if ((sym_traits & kCTFontTraitColorGlyphs) && NILP (family)) 2419 emoji. */
2420 if ((sym_traits & kCTFontTraitColorGlyphs)
2421 && NILP (family)
2422 && !EQ (CDR_SAFE (assq_no_quit (QCscript, AREF (spec, FONT_EXTRA_INDEX))),
2423 Qemoji))
2420 continue; 2424 continue;
2421 2425
2422 if (j > 0 2426 if (j > 0