Mercurial > emacs
comparison src/w32fns.c @ 90919:2f257010ddd5
(syms_of_w32fns): Use DEFSYM macro.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Mon, 11 Jun 2007 22:03:48 +0000 |
parents | e9f94688a064 |
children | 3371fc48749b |
comparison
equal
deleted
inserted
replaced
90918:e9f94688a064 | 90919:2f257010ddd5 |
---|---|
8747 w32_in_use = 0; | 8747 w32_in_use = 0; |
8748 track_mouse_window = NULL; | 8748 track_mouse_window = NULL; |
8749 | 8749 |
8750 w32_visible_system_caret_hwnd = NULL; | 8750 w32_visible_system_caret_hwnd = NULL; |
8751 | 8751 |
8752 Qnone = intern ("none"); | 8752 DEFSYM (Qnone, "none"); |
8753 staticpro (&Qnone); | 8753 DEFSYM (Qsuppress_icon, "suppress-icon"); |
8754 Qsuppress_icon = intern ("suppress-icon"); | 8754 DEFSYM (Qundefined_color, "undefined-color"); |
8755 staticpro (&Qsuppress_icon); | 8755 DEFSYM (Qcancel_timer, "cancel-timer"); |
8756 Qundefined_color = intern ("undefined-color"); | 8756 DEFSYM (Qhyper, "hyper"); |
8757 staticpro (&Qundefined_color); | 8757 DEFSYM (Qsuper, "super"); |
8758 Qcancel_timer = intern ("cancel-timer"); | 8758 DEFSYM (Qmeta, "meta"); |
8759 staticpro (&Qcancel_timer); | 8759 DEFSYM (Qalt, "alt"); |
8760 | 8760 DEFSYM (Qctrl, "ctrl"); |
8761 Qhyper = intern ("hyper"); | 8761 DEFSYM (Qcontrol, "control"); |
8762 staticpro (&Qhyper); | 8762 DEFSYM (Qshift, "shift"); |
8763 Qsuper = intern ("super"); | |
8764 staticpro (&Qsuper); | |
8765 Qmeta = intern ("meta"); | |
8766 staticpro (&Qmeta); | |
8767 Qalt = intern ("alt"); | |
8768 staticpro (&Qalt); | |
8769 Qctrl = intern ("ctrl"); | |
8770 staticpro (&Qctrl); | |
8771 Qcontrol = intern ("control"); | |
8772 staticpro (&Qcontrol); | |
8773 Qshift = intern ("shift"); | |
8774 staticpro (&Qshift); | |
8775 /* This is the end of symbol initialization. */ | 8763 /* This is the end of symbol initialization. */ |
8776 | 8764 |
8777 /* Text property `display' should be nonsticky by default. */ | 8765 /* Text property `display' should be nonsticky by default. */ |
8778 Vtext_property_default_nonsticky | 8766 Vtext_property_default_nonsticky |
8779 = Fcons (Fcons (Qdisplay, Qt), Vtext_property_default_nonsticky); | 8767 = Fcons (Fcons (Qdisplay, Qt), Vtext_property_default_nonsticky); |
9036 or w32-charset-oem. | 9024 or w32-charset-oem. |
9037 CODEPAGE should be an integer specifying the codepage that should be used | 9025 CODEPAGE should be an integer specifying the codepage that should be used |
9038 to display the character set, t to do no translation and output as Unicode, | 9026 to display the character set, t to do no translation and output as Unicode, |
9039 or nil to do no translation and output as 8 bit (or multibyte on far-east | 9027 or nil to do no translation and output as 8 bit (or multibyte on far-east |
9040 versions of Windows) characters. */); | 9028 versions of Windows) characters. */); |
9041 Vw32_charset_info_alist = Qnil; | 9029 Vw32_charset_info_alist = Qnil; |
9042 | 9030 |
9043 staticpro (&Qw32_charset_ansi); | 9031 DEFSYM (Qw32_charset_ansi, "w32-charset-ansi"); |
9044 Qw32_charset_ansi = intern ("w32-charset-ansi"); | 9032 DEFSYM (Qw32_charset_symbol, "w32-charset-symbol"); |
9045 staticpro (&Qw32_charset_symbol); | 9033 DEFSYM (Qw32_charset_default, "w32-charset-default"); |
9046 Qw32_charset_default = intern ("w32-charset-default"); | 9034 DEFSYM (Qw32_charset_shiftjis, "w32-charset-shiftjis"); |
9047 staticpro (&Qw32_charset_default); | 9035 DEFSYM (Qw32_charset_hangeul, "w32-charset-hangeul"); |
9048 Qw32_charset_symbol = intern ("w32-charset-symbol"); | 9036 DEFSYM (Qw32_charset_chinesebig5, "w32-charset-chinesebig5"); |
9049 staticpro (&Qw32_charset_shiftjis); | 9037 DEFSYM (Qw32_charset_gb2312, "w32-charset-gb2312"); |
9050 Qw32_charset_shiftjis = intern ("w32-charset-shiftjis"); | 9038 DEFSYM (Qw32_charset_oem, "w32-charset-oem"); |
9051 staticpro (&Qw32_charset_hangeul); | |
9052 Qw32_charset_hangeul = intern ("w32-charset-hangeul"); | |
9053 staticpro (&Qw32_charset_chinesebig5); | |
9054 Qw32_charset_chinesebig5 = intern ("w32-charset-chinesebig5"); | |
9055 staticpro (&Qw32_charset_gb2312); | |
9056 Qw32_charset_gb2312 = intern ("w32-charset-gb2312"); | |
9057 staticpro (&Qw32_charset_oem); | |
9058 Qw32_charset_oem = intern ("w32-charset-oem"); | |
9059 | 9039 |
9060 #ifdef JOHAB_CHARSET | 9040 #ifdef JOHAB_CHARSET |
9061 { | 9041 { |
9062 static int w32_extra_charsets_defined = 1; | 9042 static int w32_extra_charsets_defined = 1; |
9063 DEFVAR_BOOL ("w32-extra-charsets-defined", &w32_extra_charsets_defined, | 9043 DEFVAR_BOOL ("w32-extra-charsets-defined", &w32_extra_charsets_defined, |
9064 doc: /* Internal variable. */); | 9044 doc: /* Internal variable. */); |
9065 | 9045 |
9066 staticpro (&Qw32_charset_johab); | 9046 DEFSYM (Qw32_charset_johab, "w32-charset-johab"); |
9067 Qw32_charset_johab = intern ("w32-charset-johab"); | 9047 DEFSYM (Qw32_charset_easteurope, "w32-charset-easteurope"); |
9068 staticpro (&Qw32_charset_easteurope); | 9048 DEFSYM (Qw32_charset_turkish, "w32-charset-turkish"); |
9069 Qw32_charset_easteurope = intern ("w32-charset-easteurope"); | 9049 DEFSYM (Qw32_charset_baltic, "w32-charset-baltic"); |
9070 staticpro (&Qw32_charset_turkish); | 9050 DEFSYM (Qw32_charset_russian, "w32-charset-russian"); |
9071 Qw32_charset_turkish = intern ("w32-charset-turkish"); | 9051 DEFSYM (Qw32_charset_arabic, "w32-charset-arabic"); |
9072 staticpro (&Qw32_charset_baltic); | 9052 DEFSYM (Qw32_charset_greek, "w32-charset-greek"); |
9073 Qw32_charset_baltic = intern ("w32-charset-baltic"); | 9053 DEFSYM (Qw32_charset_hebrew, "w32-charset-hebrew"); |
9074 staticpro (&Qw32_charset_russian); | 9054 DEFSYM (Qw32_charset_vietnamese, "w32-charset-vietnamese"); |
9075 Qw32_charset_russian = intern ("w32-charset-russian"); | 9055 DEFSYM (Qw32_charset_thai, "w32-charset-thai"); |
9076 staticpro (&Qw32_charset_arabic); | 9056 DEFSYM (Qw32_charset_mac, "w32-charset-mac"); |
9077 Qw32_charset_arabic = intern ("w32-charset-arabic"); | |
9078 staticpro (&Qw32_charset_greek); | |
9079 Qw32_charset_greek = intern ("w32-charset-greek"); | |
9080 staticpro (&Qw32_charset_hebrew); | |
9081 Qw32_charset_hebrew = intern ("w32-charset-hebrew"); | |
9082 staticpro (&Qw32_charset_vietnamese); | |
9083 Qw32_charset_vietnamese = intern ("w32-charset-vietnamese"); | |
9084 staticpro (&Qw32_charset_thai); | |
9085 Qw32_charset_thai = intern ("w32-charset-thai"); | |
9086 staticpro (&Qw32_charset_mac); | |
9087 Qw32_charset_mac = intern ("w32-charset-mac"); | |
9088 } | 9057 } |
9089 #endif | 9058 #endif |
9090 | 9059 |
9091 #ifdef UNICODE_CHARSET | 9060 #ifdef UNICODE_CHARSET |
9092 { | 9061 { |
9093 static int w32_unicode_charset_defined = 1; | 9062 static int w32_unicode_charset_defined = 1; |
9094 DEFVAR_BOOL ("w32-unicode-charset-defined", | 9063 DEFVAR_BOOL ("w32-unicode-charset-defined", |
9095 &w32_unicode_charset_defined, | 9064 &w32_unicode_charset_defined, |
9096 doc: /* Internal variable. */); | 9065 doc: /* Internal variable. */); |
9097 | 9066 DEFSYM (Qw32_charset_unicode, "w32-charset-unicode"); |
9098 staticpro (&Qw32_charset_unicode); | |
9099 Qw32_charset_unicode = intern ("w32-charset-unicode"); | |
9100 } | 9067 } |
9101 #endif | 9068 #endif |
9102 | 9069 |
9103 #if 0 /* TODO: Port to W32 */ | 9070 #if 0 /* TODO: Port to W32 */ |
9104 defsubr (&Sx_change_window_property); | 9071 defsubr (&Sx_change_window_property); |