summaryrefslogtreecommitdiff
path: root/src/nsterm.m
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2020-03-18 07:50:37 -0700
committerGlenn Morris <rgm@gnu.org>2020-03-18 07:50:37 -0700
commit64d9b4cd762cd39749b899343cb4878e5998a170 (patch)
treed53ca326b506c75d3151a37ac35a199ae7c780e3 /src/nsterm.m
parentd815e1ea521aac866eb9c305b64a1d4486fea86f (diff)
parente92b8e535aa599fa4477578f3e5d0657e494fdd0 (diff)
downloademacs-64d9b4cd762cd39749b899343cb4878e5998a170.tar.gz
Merge from origin/emacs-27
e92b8e535a (origin/emacs-27) Remove raw carriage return characters fr... 5747a59a88 Recalculate default font when switching font backend a2dd8c4234 * lisp/tab-line.el: Fix tab-line-format and tab-line-forma... a7b8291b6c * etc/NEWS: Make the `--eval` example slightly more precise f8254aad14 * lisp/image/image-converter.el: Support more ImageMagick ... 5beb269505 Support Unicode 13.0 3a671ad7ed Fix regression in wisent-total-conflicts # Conflicts: # etc/NEWS
Diffstat (limited to 'src/nsterm.m')
-rw-r--r--src/nsterm.m10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index 96a7fdc0184..04fc0512234 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -5155,6 +5155,13 @@ ns_initialize_display_info (struct ns_display_info *dpyinfo)
reset_mouse_highlight (&dpyinfo->mouse_highlight);
}
+/* This currently does nothing, since it's only really needed when
+ changing the font-backend, but macOS currently only has one
+ possible backend. This may change if we add HarfBuzz support. */
+static void
+ns_default_font_parameter (struct frame *f, Lisp_Object parms)
+{
+}
/* This and next define (many of the) public functions in this file. */
/* gui_* are generic versions in xdisp.c that we, and other terms, get away
@@ -5190,7 +5197,8 @@ static struct redisplay_interface ns_redisplay_interface =
ns_draw_window_divider,
ns_shift_glyphs_for_insert,
ns_show_hourglass,
- ns_hide_hourglass
+ ns_hide_hourglass,
+ ns_default_font_parameter
};