diff options
| author | Dan Nicolaescu | 2010-08-05 16:15:24 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-08-05 16:15:24 -0700 |
| commit | 99f3388e53a58a319a0584358b3ca0d151e50328 (patch) | |
| tree | 9d01c15fc8651b1aa7df92b71baa0c06cfeb7c0d /src | |
| parent | 9f5dd6f226818138aadf2d0cc2562e26650a46b8 (diff) | |
| download | emacs-99f3388e53a58a319a0584358b3ca0d151e50328.tar.gz emacs-99f3388e53a58a319a0584358b3ca0d151e50328.zip | |
Add declarations to header files.
* src/keyboard.h (xmalloc_widget_value, digest_single_submenu): Remove
declarations, menu.h has them.
(QCbutton, QCtoggle, QCradio, QClabel, extra_keyboard_modifiers)
(Vinput_method_function, Qinput_method_function)
(Qevent_symbol_element_mask, last_event_timestamp):
* src/dispextern.h (Voverflow_newline_into_fringe):
* src/font.h (QCantialias, Qp, syms_of_ftfont, syms_of_xfns)
(syms_of_ftxfont, syms_of_xftfont, syms_of_bdffont)
(syms_of_w32font, syms_of_nsfont):
* src/fontset.h (find_font_encoding, Qlatin):
* src/frame.h (Qtooltip, Qrun_hook_with_args, Vmenu_bar_mode)
(Vtool_bar_mode, set_frame_menubar):
* src/ftfont.h (ftfont_font_format, ftfont_get_fc_charset):
* src/xterm.h (Qx_gtk_map_stock):
* src/keymap.h (meta_prefix_char): Add declarations.
* src/lisp.h: Remove HAVE_SHM code, unused.
(QCmap, QCrehash_size, QCrehash_threshold, QCsize, QCtest)
(QCweakness, Qabove_handle, Qbackquote, Qbar, Qbelow_handle)
(Qborder, Qbottom, Qbox, Qcircular_list, Qcomma, Qcomma_at)
(Qcomma_dot, Qcursor, Qdefault, Qdown, Qend_scroll, Qeq, Qeql)
(Qequal, Qfile_exists_p, Qfont_param, Qfringe, Qfunction)
(Qfunction_documentation, Qhandle, Qhbar, Qheader_line, Qhollow)
(Qidentity, Qleft_margin, Qmenu, Qmenu_bar_update_hook)
(Qmode_line_inactive, Qmouse, Qoverriding_local_map)
(Qoverriding_terminal_local_map, Qratio, Qregion, Qright_margin)
(Qscroll_bar, Qtool_bar, Qtop, Qup, Qvertical_border, Qwhen)
(Qwindow_scroll_functions, Vafter_load_alist)
(Vauto_save_list_file_name, Vface_alternative_font_family_alist)
(Vface_alternative_font_registry_alist, Vface_font_rescale_alist)
(Vface_ignored_fonts, Vinhibit_redisplay, Vminibuffer_list)
(Vprint_length, Vprint_level, Vscalable_fonts_allowed)
(Vshell_file_name, Vsystem_name, Vwindow_scroll_functions)
(Vwindow_system_version, Vx_no_window_manager, initial_argc)
(initial_argv, last_nonmenu_event, load_in_progress)
(noninteractive_need_newline, scroll_margin): Add declarations.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 37 | ||||
| -rw-r--r-- | src/dispextern.h | 1 | ||||
| -rw-r--r-- | src/font.h | 16 | ||||
| -rw-r--r-- | src/fontset.h | 2 | ||||
| -rw-r--r-- | src/frame.h | 7 | ||||
| -rw-r--r-- | src/ftfont.h | 3 | ||||
| -rw-r--r-- | src/keyboard.h | 24 | ||||
| -rw-r--r-- | src/keymap.h | 1 | ||||
| -rw-r--r-- | src/lisp.h | 51 | ||||
| -rw-r--r-- | src/xterm.h | 1 |
10 files changed, 130 insertions, 13 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 59800035b80..85d6e97e6f1 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,42 @@ | |||
| 1 | 2010-08-05 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2010-08-05 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | * lisp.h: Remove HAVE_SHM code, unused. | ||
| 4 | (QCmap, QCrehash_size, QCrehash_threshold, QCsize, QCtest) | ||
| 5 | (QCweakness, Qabove_handle, Qbackquote, Qbar, Qbelow_handle) | ||
| 6 | (Qborder, Qbottom, Qbox, Qcircular_list, Qcomma, Qcomma_at) | ||
| 7 | (Qcomma_dot, Qcursor, Qdefault, Qdown, Qend_scroll, Qeq, Qeql) | ||
| 8 | (Qequal, Qfile_exists_p, Qfont_param, Qfringe, Qfunction) | ||
| 9 | (Qfunction_documentation, Qhandle, Qhbar, Qheader_line, Qhollow) | ||
| 10 | (Qidentity, Qleft_margin, Qmenu, Qmenu_bar_update_hook) | ||
| 11 | (Qmode_line_inactive, Qmouse, Qoverriding_local_map) | ||
| 12 | (Qoverriding_terminal_local_map, Qratio, Qregion, Qright_margin) | ||
| 13 | (Qscroll_bar, Qtool_bar, Qtop, Qup, Qvertical_border, Qwhen) | ||
| 14 | (Qwindow_scroll_functions, Vafter_load_alist) | ||
| 15 | (Vauto_save_list_file_name, Vface_alternative_font_family_alist) | ||
| 16 | (Vface_alternative_font_registry_alist, Vface_font_rescale_alist) | ||
| 17 | (Vface_ignored_fonts, Vinhibit_redisplay, Vminibuffer_list) | ||
| 18 | (Vprint_length, Vprint_level, Vscalable_fonts_allowed) | ||
| 19 | (Vshell_file_name, Vsystem_name, Vwindow_scroll_functions) | ||
| 20 | (Vwindow_system_version, Vx_no_window_manager, initial_argc) | ||
| 21 | (initial_argv, last_nonmenu_event, load_in_progress) | ||
| 22 | (noninteractive_need_newline, scroll_margin): Add declarations. | ||
| 23 | |||
| 24 | * keyboard.h (xmalloc_widget_value, digest_single_submenu): Remove | ||
| 25 | declarations, menu.h has them. | ||
| 26 | (QCbutton, QCtoggle, QCradio, QClabel, extra_keyboard_modifiers) | ||
| 27 | (Vinput_method_function, Qinput_method_function) | ||
| 28 | (Qevent_symbol_element_mask, last_event_timestamp): | ||
| 29 | * dispextern.h (Voverflow_newline_into_fringe): | ||
| 30 | * font.h (QCantialias, Qp, syms_of_ftfont, syms_of_xfns) | ||
| 31 | (syms_of_ftxfont, syms_of_xftfont, syms_of_bdffont) | ||
| 32 | (syms_of_w32font, syms_of_nsfont): | ||
| 33 | * fontset.h (find_font_encoding, Qlatin): | ||
| 34 | * frame.h (Qtooltip, Qrun_hook_with_args, Vmenu_bar_mode) | ||
| 35 | (Vtool_bar_mode, set_frame_menubar): | ||
| 36 | * ftfont.h (ftfont_font_format, ftfont_get_fc_charset): | ||
| 37 | * xterm.h (Qx_gtk_map_stock): | ||
| 38 | * keymap.h (meta_prefix_char): Add declarations. | ||
| 39 | |||
| 3 | * term.c: Remove dead code. | 40 | * term.c: Remove dead code. |
| 4 | 41 | ||
| 5 | Fix emacs -Q -f server-start & emacsclient -t on GNU/Linux. | 42 | Fix emacs -Q -f server-start & emacsclient -t on GNU/Linux. |
diff --git a/src/dispextern.h b/src/dispextern.h index 69cc110e3ea..dba0d067326 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -3031,6 +3031,7 @@ extern int x_intersect_rectangles (XRectangle *, XRectangle *, | |||
| 3031 | 3031 | ||
| 3032 | /* Defined in fringe.c */ | 3032 | /* Defined in fringe.c */ |
| 3033 | 3033 | ||
| 3034 | extern Lisp_Object Voverflow_newline_into_fringe; | ||
| 3034 | int lookup_fringe_bitmap (Lisp_Object); | 3035 | int lookup_fringe_bitmap (Lisp_Object); |
| 3035 | void draw_fringe_bitmap (struct window *, struct glyph_row *, int); | 3036 | void draw_fringe_bitmap (struct window *, struct glyph_row *, int); |
| 3036 | void draw_row_fringe_bitmaps (struct window *, struct glyph_row *); | 3037 | void draw_row_fringe_bitmaps (struct window *, struct glyph_row *); |
diff --git a/src/font.h b/src/font.h index 694f07e5f07..dc8bcde3389 100644 --- a/src/font.h +++ b/src/font.h | |||
| @@ -239,7 +239,9 @@ enum font_property_index | |||
| 239 | ASET ((font), prop, make_number (font_style_to_value (prop, val, 1))) | 239 | ASET ((font), prop, make_number (font_style_to_value (prop, val, 1))) |
| 240 | 240 | ||
| 241 | extern Lisp_Object QCspacing, QCdpi, QCscalable, QCotf, QClang, QCscript; | 241 | extern Lisp_Object QCspacing, QCdpi, QCscalable, QCotf, QClang, QCscript; |
| 242 | extern Lisp_Object QCavgwidth, QCfont_entity, QCfc_unknown_spec; | 242 | extern Lisp_Object QCavgwidth, QCantialias, QCfont_entity, QCfc_unknown_spec; |
| 243 | extern Lisp_Object Qp; | ||
| 244 | |||
| 243 | 245 | ||
| 244 | /* Important character set symbols. */ | 246 | /* Important character set symbols. */ |
| 245 | extern Lisp_Object Qascii_0; | 247 | extern Lisp_Object Qascii_0; |
| @@ -821,26 +823,38 @@ extern void *font_get_frame_data (FRAME_PTR f, | |||
| 821 | 823 | ||
| 822 | #ifdef HAVE_FREETYPE | 824 | #ifdef HAVE_FREETYPE |
| 823 | extern struct font_driver ftfont_driver; | 825 | extern struct font_driver ftfont_driver; |
| 826 | extern void syms_of_ftfont (void); | ||
| 824 | #endif /* HAVE_FREETYPE */ | 827 | #endif /* HAVE_FREETYPE */ |
| 825 | #ifdef HAVE_X_WINDOWS | 828 | #ifdef HAVE_X_WINDOWS |
| 826 | extern struct font_driver xfont_driver; | 829 | extern struct font_driver xfont_driver; |
| 827 | extern struct font_driver ftxfont_driver; | 830 | extern struct font_driver ftxfont_driver; |
| 831 | extern void syms_of_xfont (void); | ||
| 832 | extern void syms_of_ftxfont (void); | ||
| 828 | #ifdef HAVE_XFT | 833 | #ifdef HAVE_XFT |
| 829 | extern struct font_driver xftfont_driver; | 834 | extern struct font_driver xftfont_driver; |
| 835 | extern void syms_of_xftfont (void); | ||
| 830 | #endif /* HAVE_XFT */ | 836 | #endif /* HAVE_XFT */ |
| 837 | #ifdef HAVE_BDFFONT | ||
| 838 | extern void syms_of_bdffont (void); | ||
| 839 | #endif /* HAVE_BDFFONT */ | ||
| 831 | #endif /* HAVE_X_WINDOWS */ | 840 | #endif /* HAVE_X_WINDOWS */ |
| 832 | #ifdef WINDOWSNT | 841 | #ifdef WINDOWSNT |
| 833 | extern struct font_driver w32font_driver; | 842 | extern struct font_driver w32font_driver; |
| 834 | extern struct font_driver uniscribe_font_driver; | 843 | extern struct font_driver uniscribe_font_driver; |
| 844 | extern void syms_of_w32font (void); | ||
| 835 | #endif /* WINDOWSNT */ | 845 | #endif /* WINDOWSNT */ |
| 836 | #ifdef HAVE_NS | 846 | #ifdef HAVE_NS |
| 847 | extern Lisp_Object Qfontsize; | ||
| 837 | extern struct font_driver nsfont_driver; | 848 | extern struct font_driver nsfont_driver; |
| 849 | extern void syms_of_nsfont (void); | ||
| 838 | #endif /* HAVE_NS */ | 850 | #endif /* HAVE_NS */ |
| 839 | 851 | ||
| 840 | #ifndef FONT_DEBUG | 852 | #ifndef FONT_DEBUG |
| 841 | #define FONT_DEBUG | 853 | #define FONT_DEBUG |
| 842 | #endif | 854 | #endif |
| 843 | 855 | ||
| 856 | extern Lisp_Object QCfoundry, QCadstyle, QCregistry; | ||
| 857 | |||
| 844 | extern Lisp_Object Vfont_log; | 858 | extern Lisp_Object Vfont_log; |
| 845 | extern void font_add_log (char *, Lisp_Object, Lisp_Object); | 859 | extern void font_add_log (char *, Lisp_Object, Lisp_Object); |
| 846 | extern void font_deferred_log (char *, Lisp_Object, Lisp_Object); | 860 | extern void font_deferred_log (char *, Lisp_Object, Lisp_Object); |
diff --git a/src/fontset.h b/src/fontset.h index 178170a04ce..661638feb39 100644 --- a/src/fontset.h +++ b/src/fontset.h | |||
| @@ -44,7 +44,9 @@ extern int fontset_from_font (Lisp_Object); | |||
| 44 | extern int fs_query_fontset (Lisp_Object, int); | 44 | extern int fs_query_fontset (Lisp_Object, int); |
| 45 | EXFUN (Fquery_fontset, 2); | 45 | EXFUN (Fquery_fontset, 2); |
| 46 | extern Lisp_Object list_fontsets (struct frame *, Lisp_Object, int); | 46 | extern Lisp_Object list_fontsets (struct frame *, Lisp_Object, int); |
| 47 | extern Lisp_Object find_font_encoding (Lisp_Object); | ||
| 47 | 48 | ||
| 49 | extern Lisp_Object Qlatin; | ||
| 48 | extern Lisp_Object Vuse_default_ascent; | 50 | extern Lisp_Object Vuse_default_ascent; |
| 49 | extern Lisp_Object Vignore_relative_composition; | 51 | extern Lisp_Object Vignore_relative_composition; |
| 50 | extern Lisp_Object Valternate_fontname_alist; | 52 | extern Lisp_Object Valternate_fontname_alist; |
diff --git a/src/frame.h b/src/frame.h index 3b680d5cadc..088b477dfce 100644 --- a/src/frame.h +++ b/src/frame.h | |||
| @@ -1049,6 +1049,7 @@ extern Lisp_Object Qfont; | |||
| 1049 | extern Lisp_Object Qbackground_color, Qforeground_color; | 1049 | extern Lisp_Object Qbackground_color, Qforeground_color; |
| 1050 | extern Lisp_Object Qicon, Qicon_name, Qicon_type, Qicon_left, Qicon_top; | 1050 | extern Lisp_Object Qicon, Qicon_name, Qicon_type, Qicon_left, Qicon_top; |
| 1051 | extern Lisp_Object Qinternal_border_width; | 1051 | extern Lisp_Object Qinternal_border_width; |
| 1052 | extern Lisp_Object Qtooltip; | ||
| 1052 | extern Lisp_Object Qmenu_bar_lines, Qtool_bar_lines; | 1053 | extern Lisp_Object Qmenu_bar_lines, Qtool_bar_lines; |
| 1053 | extern Lisp_Object Qmouse_color; | 1054 | extern Lisp_Object Qmouse_color; |
| 1054 | extern Lisp_Object Qname, Qtitle; | 1055 | extern Lisp_Object Qname, Qtitle; |
| @@ -1078,6 +1079,8 @@ extern Lisp_Object Qx_resource_name; | |||
| 1078 | extern Lisp_Object Qleft, Qright, Qtop, Qbox, Qbottom; | 1079 | extern Lisp_Object Qleft, Qright, Qtop, Qbox, Qbottom; |
| 1079 | extern Lisp_Object Qdisplay; | 1080 | extern Lisp_Object Qdisplay; |
| 1080 | 1081 | ||
| 1082 | extern Lisp_Object Qrun_hook_with_args; | ||
| 1083 | |||
| 1081 | #ifdef HAVE_WINDOW_SYSTEM | 1084 | #ifdef HAVE_WINDOW_SYSTEM |
| 1082 | 1085 | ||
| 1083 | /* The class of this X application. */ | 1086 | /* The class of this X application. */ |
| @@ -1095,6 +1098,7 @@ extern Lisp_Object x_new_font (struct frame *, Lisp_Object, int); | |||
| 1095 | 1098 | ||
| 1096 | extern Lisp_Object Vx_resource_name; | 1099 | extern Lisp_Object Vx_resource_name; |
| 1097 | extern Lisp_Object Vx_resource_class; | 1100 | extern Lisp_Object Vx_resource_class; |
| 1101 | extern Lisp_Object Vmenu_bar_mode, Vtool_bar_mode; | ||
| 1098 | 1102 | ||
| 1099 | 1103 | ||
| 1100 | extern Lisp_Object Qface_set_after_frame_default; | 1104 | extern Lisp_Object Qface_set_after_frame_default; |
| @@ -1138,6 +1142,9 @@ extern Lisp_Object display_x_get_resource (Display_Info *, | |||
| 1138 | Lisp_Object component, | 1142 | Lisp_Object component, |
| 1139 | Lisp_Object subclass); | 1143 | Lisp_Object subclass); |
| 1140 | 1144 | ||
| 1145 | /* In xmenu.c */ | ||
| 1146 | extern void set_frame_menubar (FRAME_PTR, int, int); | ||
| 1147 | |||
| 1141 | #endif /* HAVE_WINDOW_SYSTEM */ | 1148 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 1142 | 1149 | ||
| 1143 | #endif /* not EMACS_FRAME_H */ | 1150 | #endif /* not EMACS_FRAME_H */ |
diff --git a/src/ftfont.h b/src/ftfont.h index 7ad9b8a008c..9053c9ce81d 100644 --- a/src/ftfont.h +++ b/src/ftfont.h | |||
| @@ -36,6 +36,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 36 | #endif /* HAVE_M17N_FLT */ | 36 | #endif /* HAVE_M17N_FLT */ |
| 37 | #endif /* HAVE_LIBOTF */ | 37 | #endif /* HAVE_LIBOTF */ |
| 38 | 38 | ||
| 39 | extern Lisp_Object ftfont_font_format (FcPattern *, Lisp_Object); | ||
| 40 | extern FcCharSet *ftfont_get_fc_charset (Lisp_Object); | ||
| 41 | |||
| 39 | #endif /* EMACS_FTFONT_H */ | 42 | #endif /* EMACS_FTFONT_H */ |
| 40 | 43 | ||
| 41 | /* arch-tag: cec13d1c-7156-4997-9ebd-e989040c3d78 | 44 | /* arch-tag: cec13d1c-7156-4997-9ebd-e989040c3d78 |
diff --git a/src/keyboard.h b/src/keyboard.h index 7a04cf0425f..48d7f1468d9 100644 --- a/src/keyboard.h +++ b/src/keyboard.h | |||
| @@ -366,8 +366,6 @@ typedef struct _widget_value | |||
| 366 | struct _widget_value* next; | 366 | struct _widget_value* next; |
| 367 | } widget_value; | 367 | } widget_value; |
| 368 | 368 | ||
| 369 | extern widget_value *xmalloc_widget_value (void); | ||
| 370 | extern widget_value *digest_single_submenu (int, int, int); | ||
| 371 | #endif /* HAVE_NS || HAVE_NTGUI */ | 369 | #endif /* HAVE_NS || HAVE_NTGUI */ |
| 372 | 370 | ||
| 373 | 371 | ||
| @@ -465,6 +463,28 @@ extern Lisp_Object real_this_command; | |||
| 465 | command is stored in this-original-command. It is nil otherwise. */ | 463 | command is stored in this-original-command. It is nil otherwise. */ |
| 466 | extern Lisp_Object Vthis_original_command; | 464 | extern Lisp_Object Vthis_original_command; |
| 467 | 465 | ||
| 466 | /* Non-nil disable property on a command means | ||
| 467 | do not execute it; call disabled-command-function's value instead. */ | ||
| 468 | extern Lisp_Object QCbutton, QCtoggle, QCradio, QClabel; | ||
| 469 | |||
| 470 | /* A mask of extra modifier bits to put into every keyboard char. */ | ||
| 471 | extern EMACS_INT extra_keyboard_modifiers; | ||
| 472 | |||
| 473 | /* If non-nil, this implements the current input method. */ | ||
| 474 | extern Lisp_Object Vinput_method_function; | ||
| 475 | extern Lisp_Object Qinput_method_function; | ||
| 476 | |||
| 477 | /* An event header symbol HEAD may have a property named | ||
| 478 | Qevent_symbol_element_mask, which is of the form (BASE MODIFIERS); | ||
| 479 | BASE is the base, unmodified version of HEAD, and MODIFIERS is the | ||
| 480 | mask of modifiers applied to it. If present, this is used to help | ||
| 481 | speed up parse_modifiers. */ | ||
| 482 | extern Lisp_Object Qevent_symbol_element_mask; | ||
| 483 | |||
| 484 | /* The timestamp of the last input event we received from the X server. | ||
| 485 | X Windows wants this for selection ownership. */ | ||
| 486 | extern unsigned long last_event_timestamp; | ||
| 487 | |||
| 468 | extern int parse_menu_item (Lisp_Object, int); | 488 | extern int parse_menu_item (Lisp_Object, int); |
| 469 | 489 | ||
| 470 | extern void echo_now (void); | 490 | extern void echo_now (void); |
diff --git a/src/keymap.h b/src/keymap.h index b8f8ec4ffd2..39471c9715e 100644 --- a/src/keymap.h +++ b/src/keymap.h | |||
| @@ -24,6 +24,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 24 | extern Lisp_Object Qkeymap, Qmenu_bar; | 24 | extern Lisp_Object Qkeymap, Qmenu_bar; |
| 25 | extern Lisp_Object Qremap; | 25 | extern Lisp_Object Qremap; |
| 26 | extern Lisp_Object Qmenu_item; | 26 | extern Lisp_Object Qmenu_item; |
| 27 | extern Lisp_Object meta_prefix_char; | ||
| 27 | extern Lisp_Object Voverriding_local_map; | 28 | extern Lisp_Object Voverriding_local_map; |
| 28 | extern Lisp_Object Voverriding_local_map_menu_flag; | 29 | extern Lisp_Object Voverriding_local_map_menu_flag; |
| 29 | extern Lisp_Object current_global_map; | 30 | extern Lisp_Object current_global_map; |
diff --git a/src/lisp.h b/src/lisp.h index f278f856f5c..abed671bce0 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -508,12 +508,6 @@ extern Lisp_Object make_number (EMACS_INT); | |||
| 508 | #define EQ(x, y) (XHASH (x) == XHASH (y)) | 508 | #define EQ(x, y) (XHASH (x) == XHASH (y)) |
| 509 | 509 | ||
| 510 | #ifndef XPNTR | 510 | #ifndef XPNTR |
| 511 | #ifdef HAVE_SHM | ||
| 512 | /* In this representation, data is found in two widely separated segments. */ | ||
| 513 | extern size_t pure_size; | ||
| 514 | #define XPNTR(a) \ | ||
| 515 | (XUINT (a) | (XUINT (a) > pure_size ? DATA_SEG_BITS : PURE_SEG_BITS)) | ||
| 516 | #else /* not HAVE_SHM */ | ||
| 517 | #ifdef DATA_SEG_BITS | 511 | #ifdef DATA_SEG_BITS |
| 518 | /* This case is used for the rt-pc. | 512 | /* This case is used for the rt-pc. |
| 519 | In the diffs I was given, it checked for ptr = 0 | 513 | In the diffs I was given, it checked for ptr = 0 |
| @@ -528,7 +522,6 @@ extern size_t pure_size; | |||
| 528 | size. */ | 522 | size. */ |
| 529 | #define XPNTR(a) ((EMACS_INT) XUINT (a)) | 523 | #define XPNTR(a) ((EMACS_INT) XUINT (a)) |
| 530 | #endif | 524 | #endif |
| 531 | #endif /* not HAVE_SHM */ | ||
| 532 | #endif /* no XPNTR */ | 525 | #endif /* no XPNTR */ |
| 533 | 526 | ||
| 534 | /* Largest and smallest representable fixnum values. These are the C | 527 | /* Largest and smallest representable fixnum values. These are the C |
| @@ -2270,7 +2263,7 @@ extern Lisp_Object Qend_of_file, Qarith_error, Qmark_inactive; | |||
| 2270 | extern Lisp_Object Qbeginning_of_buffer, Qend_of_buffer, Qbuffer_read_only; | 2263 | extern Lisp_Object Qbeginning_of_buffer, Qend_of_buffer, Qbuffer_read_only; |
| 2271 | extern Lisp_Object Qtext_read_only; | 2264 | extern Lisp_Object Qtext_read_only; |
| 2272 | extern Lisp_Object Qinteractive_form; | 2265 | extern Lisp_Object Qinteractive_form; |
| 2273 | 2266 | extern Lisp_Object Qcircular_list; | |
| 2274 | extern Lisp_Object Qintegerp, Qnatnump, Qwholenump, Qsymbolp, Qlistp, Qconsp; | 2267 | extern Lisp_Object Qintegerp, Qnatnump, Qwholenump, Qsymbolp, Qlistp, Qconsp; |
| 2275 | extern Lisp_Object Qstringp, Qarrayp, Qsequencep, Qbufferp; | 2268 | extern Lisp_Object Qstringp, Qarrayp, Qsequencep, Qbufferp; |
| 2276 | extern Lisp_Object Qchar_or_string_p, Qmarkerp, Qinteger_or_marker_p, Qvectorp; | 2269 | extern Lisp_Object Qchar_or_string_p, Qmarkerp, Qinteger_or_marker_p, Qvectorp; |
| @@ -2449,6 +2442,7 @@ extern void init_syntax_once (void); | |||
| 2449 | extern void syms_of_syntax (void); | 2442 | extern void syms_of_syntax (void); |
| 2450 | 2443 | ||
| 2451 | /* Defined in fns.c */ | 2444 | /* Defined in fns.c */ |
| 2445 | extern Lisp_Object QCrehash_size, QCrehash_threshold; | ||
| 2452 | extern int use_dialog_box; | 2446 | extern int use_dialog_box; |
| 2453 | extern int use_file_dialog; | 2447 | extern int use_file_dialog; |
| 2454 | extern int next_almost_prime (int); | 2448 | extern int next_almost_prime (int); |
| @@ -2457,7 +2451,7 @@ extern void sweep_weak_hash_tables (void); | |||
| 2457 | extern Lisp_Object Qcursor_in_echo_area; | 2451 | extern Lisp_Object Qcursor_in_echo_area; |
| 2458 | extern Lisp_Object Qstring_lessp; | 2452 | extern Lisp_Object Qstring_lessp; |
| 2459 | extern Lisp_Object Vfeatures; | 2453 | extern Lisp_Object Vfeatures; |
| 2460 | extern Lisp_Object QCsize, QCtest, QCweakness, Qequal, Qeq; | 2454 | extern Lisp_Object QCsize, QCtest, QCweakness, Qequal, Qeq, Qeql; |
| 2461 | unsigned sxhash (Lisp_Object, int); | 2455 | unsigned sxhash (Lisp_Object, int); |
| 2462 | Lisp_Object make_hash_table (Lisp_Object, Lisp_Object, Lisp_Object, | 2456 | Lisp_Object make_hash_table (Lisp_Object, Lisp_Object, Lisp_Object, |
| 2463 | Lisp_Object, Lisp_Object, Lisp_Object, | 2457 | Lisp_Object, Lisp_Object, Lisp_Object, |
| @@ -2622,6 +2616,7 @@ extern void syms_of_insdel (void); | |||
| 2622 | 2616 | ||
| 2623 | /* Defined in dispnew.c */ | 2617 | /* Defined in dispnew.c */ |
| 2624 | extern Lisp_Object selected_frame; | 2618 | extern Lisp_Object selected_frame; |
| 2619 | extern Lisp_Object Vwindow_system_version; | ||
| 2625 | extern EMACS_INT baud_rate; | 2620 | extern EMACS_INT baud_rate; |
| 2626 | EXFUN (Fding, 1); | 2621 | EXFUN (Fding, 1); |
| 2627 | EXFUN (Fredraw_frame, 1); | 2622 | EXFUN (Fredraw_frame, 1); |
| @@ -2637,12 +2632,21 @@ extern Lisp_Object Qinhibit_point_motion_hooks; | |||
| 2637 | extern Lisp_Object Qinhibit_redisplay, Qdisplay; | 2632 | extern Lisp_Object Qinhibit_redisplay, Qdisplay; |
| 2638 | extern Lisp_Object Qinhibit_eval_during_redisplay; | 2633 | extern Lisp_Object Qinhibit_eval_during_redisplay; |
| 2639 | extern Lisp_Object Qmessage_truncate_lines; | 2634 | extern Lisp_Object Qmessage_truncate_lines; |
| 2635 | extern Lisp_Object Qmenu_bar_update_hook; | ||
| 2636 | extern Lisp_Object Qwindow_scroll_functions, Vwindow_scroll_functions; | ||
| 2637 | extern Lisp_Object Qoverriding_local_map, Qoverriding_terminal_local_map; | ||
| 2640 | extern Lisp_Object Qimage, Qtext, Qboth, Qboth_horiz, Qtext_image_horiz; | 2638 | extern Lisp_Object Qimage, Qtext, Qboth, Qboth_horiz, Qtext_image_horiz; |
| 2641 | extern Lisp_Object Qspace, Qcenter, QCalign_to; | 2639 | extern Lisp_Object Qspace, Qcenter, QCalign_to; |
| 2640 | extern Lisp_Object Qbar, Qhbar, Qbox, Qhollow; | ||
| 2641 | extern Lisp_Object Qleft_margin, Qright_margin; | ||
| 2642 | extern Lisp_Object Vmessage_log_max; | 2642 | extern Lisp_Object Vmessage_log_max; |
| 2643 | extern Lisp_Object QCdata, QCfile; | 2643 | extern Lisp_Object QCdata, QCfile; |
| 2644 | extern Lisp_Object QCmap; | ||
| 2644 | extern Lisp_Object Qrisky_local_variable; | 2645 | extern Lisp_Object Qrisky_local_variable; |
| 2646 | extern Lisp_Object Vinhibit_redisplay; | ||
| 2645 | extern int message_enable_multibyte; | 2647 | extern int message_enable_multibyte; |
| 2648 | extern int noninteractive_need_newline; | ||
| 2649 | extern EMACS_INT scroll_margin; | ||
| 2646 | extern Lisp_Object echo_area_buffer[2]; | 2650 | extern Lisp_Object echo_area_buffer[2]; |
| 2647 | extern void add_to_log (const char *, Lisp_Object, Lisp_Object); | 2651 | extern void add_to_log (const char *, Lisp_Object, Lisp_Object); |
| 2648 | extern void check_message_stack (void); | 2652 | extern void check_message_stack (void); |
| @@ -2789,7 +2793,7 @@ extern void syms_of_chartab (void); | |||
| 2789 | 2793 | ||
| 2790 | /* Defined in print.c */ | 2794 | /* Defined in print.c */ |
| 2791 | extern Lisp_Object Vprin1_to_string_buffer; | 2795 | extern Lisp_Object Vprin1_to_string_buffer; |
| 2792 | extern Lisp_Object Vprint_level; | 2796 | extern Lisp_Object Vprint_level, Vprint_length; |
| 2793 | extern void debug_print (Lisp_Object); | 2797 | extern void debug_print (Lisp_Object); |
| 2794 | EXFUN (Fprin1, 2); | 2798 | EXFUN (Fprin1, 2); |
| 2795 | EXFUN (Fprin1_to_string, 2); | 2799 | EXFUN (Fprin1_to_string, 2); |
| @@ -2815,9 +2819,12 @@ extern void syms_of_print (void); | |||
| 2815 | extern int doprnt (char *, int, const char *, const char *, va_list); | 2819 | extern int doprnt (char *, int, const char *, const char *, va_list); |
| 2816 | 2820 | ||
| 2817 | /* Defined in lread.c */ | 2821 | /* Defined in lread.c */ |
| 2822 | extern Lisp_Object Vafter_load_alist; | ||
| 2818 | extern Lisp_Object Qvariable_documentation, Qstandard_input; | 2823 | extern Lisp_Object Qvariable_documentation, Qstandard_input; |
| 2819 | extern Lisp_Object Qfunction; | 2824 | extern Lisp_Object Qfunction; |
| 2825 | extern Lisp_Object Qbackquote, Qcomma, Qcomma_at, Qcomma_dot, Qfunction; | ||
| 2820 | extern Lisp_Object Vobarray, initial_obarray, Vstandard_input; | 2826 | extern Lisp_Object Vobarray, initial_obarray, Vstandard_input; |
| 2827 | extern int load_in_progress; | ||
| 2821 | EXFUN (Fread, 1); | 2828 | EXFUN (Fread, 1); |
| 2822 | EXFUN (Fread_from_string, 3); | 2829 | EXFUN (Fread_from_string, 3); |
| 2823 | EXFUN (Fintern, 2); | 2830 | EXFUN (Fintern, 2); |
| @@ -2939,8 +2946,10 @@ extern void init_eval (void); | |||
| 2939 | extern void syms_of_eval (void); | 2946 | extern void syms_of_eval (void); |
| 2940 | 2947 | ||
| 2941 | /* Defined in editfns.c */ | 2948 | /* Defined in editfns.c */ |
| 2949 | extern Lisp_Object last_nonmenu_event; | ||
| 2942 | extern Lisp_Object Qfield; | 2950 | extern Lisp_Object Qfield; |
| 2943 | extern Lisp_Object Vinhibit_field_text_motion; | 2951 | extern Lisp_Object Vinhibit_field_text_motion; |
| 2952 | extern Lisp_Object Vsystem_name; | ||
| 2944 | extern Lisp_Object Vuser_login_name; | 2953 | extern Lisp_Object Vuser_login_name; |
| 2945 | EXFUN (Fpropertize, MANY); | 2954 | EXFUN (Fpropertize, MANY); |
| 2946 | EXFUN (Fcurrent_message, 0); | 2955 | EXFUN (Fcurrent_message, 0); |
| @@ -3061,8 +3070,10 @@ extern void syms_of_marker (void); | |||
| 3061 | /* Defined in fileio.c */ | 3070 | /* Defined in fileio.c */ |
| 3062 | 3071 | ||
| 3063 | extern Lisp_Object Qfile_error; | 3072 | extern Lisp_Object Qfile_error; |
| 3073 | extern Lisp_Object Qfile_exists_p; | ||
| 3064 | extern Lisp_Object Qfile_directory_p; | 3074 | extern Lisp_Object Qfile_directory_p; |
| 3065 | extern Lisp_Object Qinsert_file_contents; | 3075 | extern Lisp_Object Qinsert_file_contents; |
| 3076 | extern Lisp_Object Vauto_save_list_file_name; | ||
| 3066 | EXFUN (Ffind_file_name_handler, 2); | 3077 | EXFUN (Ffind_file_name_handler, 2); |
| 3067 | EXFUN (Ffile_name_as_directory, 1); | 3078 | EXFUN (Ffile_name_as_directory, 1); |
| 3068 | EXFUN (Fmake_temp_name, 1); | 3079 | EXFUN (Fmake_temp_name, 1); |
| @@ -3126,6 +3137,7 @@ extern Lisp_Object Qcompletion_ignore_case; | |||
| 3126 | extern Lisp_Object Qcompletion_ignore_case; | 3137 | extern Lisp_Object Qcompletion_ignore_case; |
| 3127 | extern Lisp_Object Vcompletion_regexp_list; | 3138 | extern Lisp_Object Vcompletion_regexp_list; |
| 3128 | extern Lisp_Object Vhistory_length; | 3139 | extern Lisp_Object Vhistory_length; |
| 3140 | extern Lisp_Object Vminibuffer_list; | ||
| 3129 | extern Lisp_Object last_minibuf_string; | 3141 | extern Lisp_Object last_minibuf_string; |
| 3130 | extern int completion_ignore_case; | 3142 | extern int completion_ignore_case; |
| 3131 | extern int history_delete_duplicates; | 3143 | extern int history_delete_duplicates; |
| @@ -3148,6 +3160,7 @@ extern void syms_of_minibuf (void); | |||
| 3148 | /* Defined in callint.c */ | 3160 | /* Defined in callint.c */ |
| 3149 | 3161 | ||
| 3150 | extern Lisp_Object Qminus, Qplus, Vcurrent_prefix_arg; | 3162 | extern Lisp_Object Qminus, Qplus, Vcurrent_prefix_arg; |
| 3163 | extern Lisp_Object Qwhen; | ||
| 3151 | extern Lisp_Object Vcommand_history; | 3164 | extern Lisp_Object Vcommand_history; |
| 3152 | extern Lisp_Object Vmark_even_if_inactive; | 3165 | extern Lisp_Object Vmark_even_if_inactive; |
| 3153 | extern Lisp_Object Qcall_interactively, Qmouse_leave_buffer_hook; | 3166 | extern Lisp_Object Qcall_interactively, Qmouse_leave_buffer_hook; |
| @@ -3157,6 +3170,7 @@ extern void syms_of_callint (void); | |||
| 3157 | 3170 | ||
| 3158 | /* Defined in casefiddle.c */ | 3171 | /* Defined in casefiddle.c */ |
| 3159 | 3172 | ||
| 3173 | extern Lisp_Object Qidentity; | ||
| 3160 | EXFUN (Fdowncase, 1); | 3174 | EXFUN (Fdowncase, 1); |
| 3161 | EXFUN (Fupcase, 1); | 3175 | EXFUN (Fupcase, 1); |
| 3162 | EXFUN (Fcapitalize, 1); | 3176 | EXFUN (Fcapitalize, 1); |
| @@ -3180,6 +3194,9 @@ extern Lisp_Object echo_message_buffer; | |||
| 3180 | extern struct kboard *echo_kboard; | 3194 | extern struct kboard *echo_kboard; |
| 3181 | extern void cancel_echoing (void); | 3195 | extern void cancel_echoing (void); |
| 3182 | extern Lisp_Object Qdisabled, QCfilter; | 3196 | extern Lisp_Object Qdisabled, QCfilter; |
| 3197 | extern Lisp_Object Qabove_handle, Qhandle, Qbelow_handle; | ||
| 3198 | extern Lisp_Object Qup, Qdown, Qbottom, Qend_scroll; | ||
| 3199 | extern Lisp_Object Qtop, Qratio; | ||
| 3183 | extern Lisp_Object Vtty_erase_char, Vhelp_form, Vtop_level; | 3200 | extern Lisp_Object Vtty_erase_char, Vhelp_form, Vtop_level; |
| 3184 | extern Lisp_Object Vthrow_on_input; | 3201 | extern Lisp_Object Vthrow_on_input; |
| 3185 | extern int input_pending; | 3202 | extern int input_pending; |
| @@ -3271,6 +3288,8 @@ extern void frames_bury_buffer (Lisp_Object); | |||
| 3271 | extern void syms_of_frame (void); | 3288 | extern void syms_of_frame (void); |
| 3272 | 3289 | ||
| 3273 | /* Defined in emacs.c */ | 3290 | /* Defined in emacs.c */ |
| 3291 | extern char **initial_argv; | ||
| 3292 | extern int initial_argc; | ||
| 3274 | #if defined(HAVE_X_WINDOWS) || defined(HAVE_NS) | 3293 | #if defined(HAVE_X_WINDOWS) || defined(HAVE_NS) |
| 3275 | extern int display_arg; | 3294 | extern int display_arg; |
| 3276 | #endif | 3295 | #endif |
| @@ -3336,6 +3355,7 @@ extern void setup_process_coding_systems (Lisp_Object); | |||
| 3336 | extern Lisp_Object Vexec_path, Vexec_suffixes, | 3355 | extern Lisp_Object Vexec_path, Vexec_suffixes, |
| 3337 | Vexec_directory, Vdata_directory; | 3356 | Vexec_directory, Vdata_directory; |
| 3338 | extern Lisp_Object Vdoc_directory; | 3357 | extern Lisp_Object Vdoc_directory; |
| 3358 | extern Lisp_Object Vshell_file_name; | ||
| 3339 | EXFUN (Fcall_process, MANY); | 3359 | EXFUN (Fcall_process, MANY); |
| 3340 | extern int child_setup (int, int, int, char **, int, Lisp_Object); | 3360 | extern int child_setup (int, int, int, char **, int, Lisp_Object); |
| 3341 | extern void init_callproc_1 (void); | 3361 | extern void init_callproc_1 (void); |
| @@ -3344,6 +3364,7 @@ extern void set_initial_environment (void); | |||
| 3344 | extern void syms_of_callproc (void); | 3364 | extern void syms_of_callproc (void); |
| 3345 | 3365 | ||
| 3346 | /* Defined in doc.c */ | 3366 | /* Defined in doc.c */ |
| 3367 | extern Lisp_Object Qfunction_documentation; | ||
| 3347 | extern Lisp_Object Vdoc_file_name; | 3368 | extern Lisp_Object Vdoc_file_name; |
| 3348 | EXFUN (Fsubstitute_command_keys, 1); | 3369 | EXFUN (Fsubstitute_command_keys, 1); |
| 3349 | EXFUN (Fdocumentation, 2); | 3370 | EXFUN (Fdocumentation, 2); |
| @@ -3504,16 +3525,26 @@ EXFUN (Fset_fontset_font, 5); | |||
| 3504 | EXFUN (Fnew_fontset, 2); | 3525 | EXFUN (Fnew_fontset, 2); |
| 3505 | 3526 | ||
| 3506 | /* Defined in xfns.c, w32fns.c, or macfns.c */ | 3527 | /* Defined in xfns.c, w32fns.c, or macfns.c */ |
| 3528 | extern Lisp_Object Qfont_param; | ||
| 3529 | extern Lisp_Object Vx_no_window_manager; | ||
| 3507 | EXFUN (Fxw_display_color_p, 1); | 3530 | EXFUN (Fxw_display_color_p, 1); |
| 3508 | EXFUN (Fx_file_dialog, 5); | 3531 | EXFUN (Fx_file_dialog, 5); |
| 3509 | EXFUN (Fx_focus_frame, 1); | 3532 | EXFUN (Fx_focus_frame, 1); |
| 3510 | #endif | 3533 | #endif |
| 3511 | 3534 | ||
| 3512 | /* Defined in xfaces.c */ | 3535 | /* Defined in xfaces.c */ |
| 3536 | extern Lisp_Object Qdefault, Qtool_bar, Qregion, Qfringe; | ||
| 3537 | extern Lisp_Object Qheader_line, Qscroll_bar, Qcursor, Qborder, Qmouse, Qmenu; | ||
| 3538 | extern Lisp_Object Qmode_line_inactive, Qvertical_border; | ||
| 3513 | extern Lisp_Object Qface; | 3539 | extern Lisp_Object Qface; |
| 3514 | extern Lisp_Object Qnormal; | 3540 | extern Lisp_Object Qnormal; |
| 3515 | extern Lisp_Object QCfamily, QCweight, QCslant, QCwidth; | 3541 | extern Lisp_Object QCfamily, QCweight, QCslant, QCwidth; |
| 3516 | extern Lisp_Object QCheight, QCsize, QCname, QCwidth, QCforeground, QCbackground; | 3542 | extern Lisp_Object QCheight, QCsize, QCname, QCwidth, QCforeground, QCbackground; |
| 3543 | extern Lisp_Object Vface_alternative_font_family_alist; | ||
| 3544 | extern Lisp_Object Vface_font_rescale_alist; | ||
| 3545 | extern Lisp_Object Vface_ignored_fonts; | ||
| 3546 | extern Lisp_Object Vface_alternative_font_registry_alist; | ||
| 3547 | extern Lisp_Object Vscalable_fonts_allowed; | ||
| 3517 | EXFUN (Fclear_face_cache, 1); | 3548 | EXFUN (Fclear_face_cache, 1); |
| 3518 | EXFUN (Fx_load_color_file, 1); | 3549 | EXFUN (Fx_load_color_file, 1); |
| 3519 | extern void syms_of_xfaces (void); | 3550 | extern void syms_of_xfaces (void); |
diff --git a/src/xterm.h b/src/xterm.h index 278c6b13cf1..7a35466cb79 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -1168,6 +1168,7 @@ enum xembed_accelerator | |||
| 1168 | 1168 | ||
| 1169 | /* Defined in xterm.c */ | 1169 | /* Defined in xterm.c */ |
| 1170 | 1170 | ||
| 1171 | extern Lisp_Object Qx_gtk_map_stock; | ||
| 1171 | extern void xembed_set_info (struct frame *f, enum xembed_info flags); | 1172 | extern void xembed_set_info (struct frame *f, enum xembed_info flags); |
| 1172 | extern void xembed_send_message (struct frame *f, Time time, | 1173 | extern void xembed_send_message (struct frame *f, Time time, |
| 1173 | enum xembed_message message, | 1174 | enum xembed_message message, |