diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-10-18 16:57:44 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-10-18 16:57:44 +0400 |
commit | d141d7011296265b0c2a6432bed9317614abf019 (patch) | |
tree | effac9c22d9391c5527e5d9990b1fdbe4647e556 /src/w32term.h | |
parent | f0ff1cd5762b2485add7b2e5a1da52eab733a873 (diff) |
Remove port-specific display name lists to avoid extra
complexity and data duplication with display info lists.
* xterm.h (x_display_name_list): Remove declaration.
* xterm.c (x_display_name_list): Remove.
(x_term_init, x_delete_display, syms_of_xterm): Adjust users.
* xfns.c (x_display_info_for_name, Fx_display_list):
Likewise. Use x_display_list where appropriate.
* w32term.h (w32_display_name_list): Remove declaration.
* w32term.c (w32_display_name_list): Remove.
(w32_initialize_display_info, x_delete_display, syms_of_w32term):
Adjust users.
* w32fns.c (x_display_info_for_name, Fx_display_list):
Likewise. Use x_display_list where appropriate.
* nsterm.h (ns_display_name_list): Remove declaration.
* nsterm.m (ns_display_name_list): Remove.
(ns_term_init, syms_of_nsterm): Adjust users.
* nsfns.m (ns_display_info_for_name, Fx_display_list):
Likewise. Use x_display_list where appropriate.
* termhooks.h (TERMINAL_FONT_CACHE): New macro.
* alloc.c (toplevel) [HAVE_WINDOW_SYSTEM]: Include TERM_HEADER.
(mark_terminals): Mark per-terminal font cache.
Diffstat (limited to 'src/w32term.h')
-rw-r--r-- | src/w32term.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/w32term.h b/src/w32term.h index 8244487dfc..956e03d336 100644 --- a/src/w32term.h +++ b/src/w32term.h @@ -86,8 +86,7 @@ struct w32_display_info /* The generic display parameters corresponding to this w32 display. */ struct terminal *terminal; - /* This is a cons cell of the form (NAME . FONT-LIST-CACHE). - The same cons cell also appears in x_display_name_list. */ + /* This is a cons cell of the form (NAME . FONT-LIST-CACHE). */ Lisp_Object name_list_element; /* Number of frames that are on this display. */ @@ -216,12 +215,6 @@ struct w32_display_info extern struct w32_display_info *x_display_list; extern struct w32_display_info one_w32_display_info; -/* This is a list of cons cells, each of the form (NAME . FONT-LIST-CACHE), - one for each element of w32_display_list and in the same order. - NAME is the name of the frame. - FONT-LIST-CACHE records previous values returned by x-list-fonts. */ -extern Lisp_Object w32_display_name_list; - extern struct frame *x_window_to_frame (struct w32_display_info *, HWND); struct w32_display_info *x_display_info_for_name (Lisp_Object); |