]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix syms_of_(mac|ms)font calls.
authorJan Djärv <jan.h.d@swipnet.se>
Mon, 16 Sep 2013 15:55:02 +0000 (17:55 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Mon, 16 Sep 2013 15:55:02 +0000 (17:55 +0200)
* font.c (syms_of_font): Move call to syms_of_(ns|mac)font ...

* nsterm.m (syms_of_nsterm): ... to here.

src/ChangeLog
src/font.c
src/nsterm.m

index d53f1414917ba4e38ba2dbb1fd4dc20c77241eaa..8b9c1ca904df6729299b25781bc95bcbbe3e6c3c 100644 (file)
@@ -1,3 +1,9 @@
+2013-09-16  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * font.c (syms_of_font): Move call to syms_of_(ns|mac)font ...
+
+       * nsterm.m (syms_of_nsterm): ... to here.
+
 2013-09-16  Dmitry Antipov  <dmantipov@yandex.ru>
 
        * xterm.c (toolkit_scroll_bar_interaction): Use bool for boolean.
index cc832f9a88a17bf4b23ebdffb1c5593dbc217696..68db9f2ef2dbdac1c47167042477066e95d80b92 100644 (file)
@@ -5197,12 +5197,6 @@ EMACS_FONT_LOG is set.  Otherwise, it is set to t.  */);
 #ifdef HAVE_NTGUI
   syms_of_w32font ();
 #endif /* HAVE_NTGUI */
-#ifdef HAVE_NS
-  syms_of_nsfont ();
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1050
-  syms_of_macfont ();
-#endif
-#endif /* HAVE_NS */
 #endif /* HAVE_WINDOW_SYSTEM */
 }
 
index 2fc8a09c80f842d1dce626fcaf196c3c20e879ca..6c5f5f54cb93f07a49ff7e0d4d2e9220cbb608ce 100644 (file)
@@ -7461,4 +7461,12 @@ baseline level.  The default value is nil.  */);
 
   /* Tell Emacs about this window system.  */
   Fprovide (Qns, Qnil);
+
+  syms_of_nsfont ();
+#ifdef NS_IMPL_COCOA
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1050
+  syms_of_macfont ();
+#endif
+#endif
+  
 }