]> git.eshelyaron.com Git - emacs.git/commitdiff
(main): Call init_font ().
authorKenichi Handa <handa@m17n.org>
Tue, 23 Jun 2009 05:53:56 +0000 (05:53 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 23 Jun 2009 05:53:56 +0000 (05:53 +0000)
src/ChangeLog
src/emacs.c

index ccef6a0f450d0963aa46d60d1fb5583c1d387950..a0f2650445a0a2682c9c9285d88c7a9f124d9bdf 100644 (file)
@@ -1,5 +1,19 @@
 2009-06-23  Kenichi Handa  <handa@m17n.org>
 
+       * emacs.c (main): Call init_font ().
+
+       * font.h (Vfont_log): Extern it.
+       (FONT_ADD_LOG, FONT_DEFERRED_LOG): New macros.
+
+       * font.c (font_sort_entities, font_list_entities)
+       (font_matching_entity, font_open_entity)
+       (font_close_object): Change font_add_log to FONT_ADD_LOG.
+       (Vfont_log): Delete static.
+       (font_log_env_checked): Delete this variable.
+       (font_add_log): Don't check font_log_env_checked.
+       (font_deferred_log): Check Vfont_log.
+       (init_font): New function.
+
        * ftfont.c: Change font_add_log to FONT_ADD_LOG.
 
        * w32font.c: Change font_add_log to FONT_ADD_LOG.
index 3e94f0fc6c16b4a862ab80faae615da0296258f1..e6af0974c2a1b8feaada5d7df5e70b314e1f0871 100644 (file)
@@ -1772,6 +1772,7 @@ main (int argc, char **argv)
   init_sound ();
 #endif
   init_window ();
+  init_font ();
 
   if (!initialized)
     {