diff options
| author | Dan Nicolaescu | 2009-11-06 06:50:52 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2009-11-06 06:50:52 +0000 |
| commit | d67b4f80dbe514d6e351e7d89c78921c85e7dbe7 (patch) | |
| tree | da83a5dc49e499e330365feaa8123709fdf0cc88 /src/xselect.c | |
| parent | 495bd5ca19cf79a9e91b77bf2e2ea37b8be3ef1f (diff) | |
| download | emacs-d67b4f80dbe514d6e351e7d89c78921c85e7dbe7.tar.gz emacs-d67b4f80dbe514d6e351e7d89c78921c85e7dbe7.zip | |
* xterm.c (syms_of_xterm):
* xselect.c (syms_of_xselect):
* xmenu.c (syms_of_xmenu):
* xfns.c (syms_of_xfns):
* xfaces.c (syms_of_xfaces):
* xdisp.c (syms_of_xdisp):
* window.c (syms_of_window):
* w32fns.c (syms_of_w32fns):
* undo.c (syms_of_undo):
* textprop.c (syms_of_textprop):
* terminal.c (syms_of_terminal):
* syntax.c (syms_of_syntax):
* sound.c (syms_of_sound):
* search.c (syms_of_search):
* print.c (syms_of_print):
* minibuf.c (syms_of_minibuf):
* macros.c (syms_of_macros):
* keymap.c (syms_of_keymap, initial_define_key)
(initial_define_lispy_key):
* keyboard.c (syms_of_keyboard):
* insdel.c (syms_of_insdel):
* image.c (syms_of_image):
* fringe.c (syms_of_fringe):
* frame.c (syms_of_frame):
* fontset.c (syms_of_fontset):
* fns.c (syms_of_fns):
* fns.c (syms_of_fns):
* fileio.c (syms_of_fileio):
* fileio.c (syms_of_fileio):
* eval.c (syms_of_eval):
* doc.c (syms_of_doc):
* dispnew.c (syms_of_display):
* dired.c (syms_of_dired):
* dbusbind.c (syms_of_dbusbind):
* data.c (syms_of_data):
* composite.c (syms_of_composite):
* coding.c (syms_of_coding):
* cmds.c (syms_of_cmds):
* charset.c (define_charset_internal, syms_of_character):
* ccl.c (syms_of_ccl):
* category.c (syms_of_category, init_category_once):
* casetab.c (syms_of_casetab):
* casefiddle.c (syms_of_casefiddle):
* callint.c (syms_of_callint):
* bytecode.c (syms_of_bytecode):
* buffer.c (keys_of_buffer, syms_of_buffer):
* alloc.c (syms_of_alloc):
* process.c (syms_of_process, init_process):
* lread.c (syms_of_lread, init_obarray):
* font.c (build_style_table):
* emacs.c (syms_of_emacs, main): Replace calls to intern with
intern_c_string, calls to make_pure_string with
make_pure_c_string. Use pure_cons instead of Fcons.
* process.c (socket_options): Make it const.
(set_socket_option, init_process): Use a const pointer.
* lread.c (intern_c_string): New function.
(defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool)
(defvar_int): Uset it. Make the name const char*.
* font.c (struct table_entry): Remove unused member. Make NAMES
constant.
(weight_table, slant_table, width_table): Make constant.
* emacs.c (struct standard_args): Make name and longname constant.
Diffstat (limited to 'src/xselect.c')
| -rw-r--r-- | src/xselect.c | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/src/xselect.c b/src/xselect.c index 79e0c0a280b..935c441ed52 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -3010,38 +3010,38 @@ A value of 0 means wait as long as necessary. This is initialized from the | |||
| 3010 | \"*selectionTimeout\" resource. */); | 3010 | \"*selectionTimeout\" resource. */); |
| 3011 | x_selection_timeout = 0; | 3011 | x_selection_timeout = 0; |
| 3012 | 3012 | ||
| 3013 | QPRIMARY = intern ("PRIMARY"); staticpro (&QPRIMARY); | 3013 | QPRIMARY = intern_c_string ("PRIMARY"); staticpro (&QPRIMARY); |
| 3014 | QSECONDARY = intern ("SECONDARY"); staticpro (&QSECONDARY); | 3014 | QSECONDARY = intern_c_string ("SECONDARY"); staticpro (&QSECONDARY); |
| 3015 | QSTRING = intern ("STRING"); staticpro (&QSTRING); | 3015 | QSTRING = intern_c_string ("STRING"); staticpro (&QSTRING); |
| 3016 | QINTEGER = intern ("INTEGER"); staticpro (&QINTEGER); | 3016 | QINTEGER = intern_c_string ("INTEGER"); staticpro (&QINTEGER); |
| 3017 | QCLIPBOARD = intern ("CLIPBOARD"); staticpro (&QCLIPBOARD); | 3017 | QCLIPBOARD = intern_c_string ("CLIPBOARD"); staticpro (&QCLIPBOARD); |
| 3018 | QTIMESTAMP = intern ("TIMESTAMP"); staticpro (&QTIMESTAMP); | 3018 | QTIMESTAMP = intern_c_string ("TIMESTAMP"); staticpro (&QTIMESTAMP); |
| 3019 | QTEXT = intern ("TEXT"); staticpro (&QTEXT); | 3019 | QTEXT = intern_c_string ("TEXT"); staticpro (&QTEXT); |
| 3020 | QCOMPOUND_TEXT = intern ("COMPOUND_TEXT"); staticpro (&QCOMPOUND_TEXT); | 3020 | QCOMPOUND_TEXT = intern_c_string ("COMPOUND_TEXT"); staticpro (&QCOMPOUND_TEXT); |
| 3021 | QUTF8_STRING = intern ("UTF8_STRING"); staticpro (&QUTF8_STRING); | 3021 | QUTF8_STRING = intern_c_string ("UTF8_STRING"); staticpro (&QUTF8_STRING); |
| 3022 | QDELETE = intern ("DELETE"); staticpro (&QDELETE); | 3022 | QDELETE = intern_c_string ("DELETE"); staticpro (&QDELETE); |
| 3023 | QMULTIPLE = intern ("MULTIPLE"); staticpro (&QMULTIPLE); | 3023 | QMULTIPLE = intern_c_string ("MULTIPLE"); staticpro (&QMULTIPLE); |
| 3024 | QINCR = intern ("INCR"); staticpro (&QINCR); | 3024 | QINCR = intern_c_string ("INCR"); staticpro (&QINCR); |
| 3025 | QEMACS_TMP = intern ("_EMACS_TMP_"); staticpro (&QEMACS_TMP); | 3025 | QEMACS_TMP = intern_c_string ("_EMACS_TMP_"); staticpro (&QEMACS_TMP); |
| 3026 | QTARGETS = intern ("TARGETS"); staticpro (&QTARGETS); | 3026 | QTARGETS = intern_c_string ("TARGETS"); staticpro (&QTARGETS); |
| 3027 | QATOM = intern ("ATOM"); staticpro (&QATOM); | 3027 | QATOM = intern_c_string ("ATOM"); staticpro (&QATOM); |
| 3028 | QATOM_PAIR = intern ("ATOM_PAIR"); staticpro (&QATOM_PAIR); | 3028 | QATOM_PAIR = intern_c_string ("ATOM_PAIR"); staticpro (&QATOM_PAIR); |
| 3029 | QNULL = intern ("NULL"); staticpro (&QNULL); | 3029 | QNULL = intern_c_string ("NULL"); staticpro (&QNULL); |
| 3030 | Qcompound_text_with_extensions = intern ("compound-text-with-extensions"); | 3030 | Qcompound_text_with_extensions = intern_c_string ("compound-text-with-extensions"); |
| 3031 | staticpro (&Qcompound_text_with_extensions); | 3031 | staticpro (&Qcompound_text_with_extensions); |
| 3032 | 3032 | ||
| 3033 | #ifdef CUT_BUFFER_SUPPORT | 3033 | #ifdef CUT_BUFFER_SUPPORT |
| 3034 | QCUT_BUFFER0 = intern ("CUT_BUFFER0"); staticpro (&QCUT_BUFFER0); | 3034 | QCUT_BUFFER0 = intern_c_string ("CUT_BUFFER0"); staticpro (&QCUT_BUFFER0); |
| 3035 | QCUT_BUFFER1 = intern ("CUT_BUFFER1"); staticpro (&QCUT_BUFFER1); | 3035 | QCUT_BUFFER1 = intern_c_string ("CUT_BUFFER1"); staticpro (&QCUT_BUFFER1); |
| 3036 | QCUT_BUFFER2 = intern ("CUT_BUFFER2"); staticpro (&QCUT_BUFFER2); | 3036 | QCUT_BUFFER2 = intern_c_string ("CUT_BUFFER2"); staticpro (&QCUT_BUFFER2); |
| 3037 | QCUT_BUFFER3 = intern ("CUT_BUFFER3"); staticpro (&QCUT_BUFFER3); | 3037 | QCUT_BUFFER3 = intern_c_string ("CUT_BUFFER3"); staticpro (&QCUT_BUFFER3); |
| 3038 | QCUT_BUFFER4 = intern ("CUT_BUFFER4"); staticpro (&QCUT_BUFFER4); | 3038 | QCUT_BUFFER4 = intern_c_string ("CUT_BUFFER4"); staticpro (&QCUT_BUFFER4); |
| 3039 | QCUT_BUFFER5 = intern ("CUT_BUFFER5"); staticpro (&QCUT_BUFFER5); | 3039 | QCUT_BUFFER5 = intern_c_string ("CUT_BUFFER5"); staticpro (&QCUT_BUFFER5); |
| 3040 | QCUT_BUFFER6 = intern ("CUT_BUFFER6"); staticpro (&QCUT_BUFFER6); | 3040 | QCUT_BUFFER6 = intern_c_string ("CUT_BUFFER6"); staticpro (&QCUT_BUFFER6); |
| 3041 | QCUT_BUFFER7 = intern ("CUT_BUFFER7"); staticpro (&QCUT_BUFFER7); | 3041 | QCUT_BUFFER7 = intern_c_string ("CUT_BUFFER7"); staticpro (&QCUT_BUFFER7); |
| 3042 | #endif | 3042 | #endif |
| 3043 | 3043 | ||
| 3044 | Qforeign_selection = intern ("foreign-selection"); | 3044 | Qforeign_selection = intern_c_string ("foreign-selection"); |
| 3045 | staticpro (&Qforeign_selection); | 3045 | staticpro (&Qforeign_selection); |
| 3046 | } | 3046 | } |
| 3047 | 3047 | ||