diff options
Diffstat (limited to 'src/xfont.c')
-rw-r--r-- | src/xfont.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xfont.c b/src/xfont.c index b057aa0a277..e40a31004f6 100644 --- a/src/xfont.c +++ b/src/xfont.c @@ -31,6 +31,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ #include "character.h" #include "charset.h" #include "font.h" +#include "pdumper.h" /* X core font driver. */ @@ -1077,6 +1078,7 @@ xfont_check (struct frame *f, struct font *font) } +static void syms_of_xfont_for_pdumper (void); struct font_driver const xfont_driver = { @@ -1102,5 +1104,11 @@ syms_of_xfont (void) xfont_scripts_cache = CALLN (Fmake_hash_table, QCtest, Qequal); staticpro (&xfont_scratch_props); xfont_scratch_props = make_nil_vector (8); + pdumper_do_now_and_after_load (syms_of_xfont_for_pdumper); +} + +static void +syms_of_xfont_for_pdumper (void) +{ register_font_driver (&xfont_driver, NULL); } |