comparison src/xselect.c @ 43456:bfca0eb3e752

Fix last change.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 22 Feb 2002 13:20:00 +0000
parents 0ccb9431ca7b
children 0405c47ca611
comparison
equal deleted inserted replaced
43455:c6e68db7db51 43456:bfca0eb3e752
95 QTEXT, QDELETE, QMULTIPLE, QINCR, QEMACS_TMP, QTARGETS, QATOM, QNULL, 95 QTEXT, QDELETE, QMULTIPLE, QINCR, QEMACS_TMP, QTARGETS, QATOM, QNULL,
96 QATOM_PAIR; 96 QATOM_PAIR;
97 97
98 Lisp_Object QCOMPOUND_TEXT; /* This is a type of selection. */ 98 Lisp_Object QCOMPOUND_TEXT; /* This is a type of selection. */
99 99
100 Lisp_Object Qcompound_text_with_extensions; 100 Lisp_Object Qcompound_text_no_extensions;
101 101
102 #ifdef CUT_BUFFER_SUPPORT 102 #ifdef CUT_BUFFER_SUPPORT
103 Lisp_Object QCUT_BUFFER0, QCUT_BUFFER1, QCUT_BUFFER2, QCUT_BUFFER3, 103 Lisp_Object QCUT_BUFFER0, QCUT_BUFFER1, QCUT_BUFFER2, QCUT_BUFFER3,
104 QCUT_BUFFER4, QCUT_BUFFER5, QCUT_BUFFER6, QCUT_BUFFER7; 104 QCUT_BUFFER4, QCUT_BUFFER5, QCUT_BUFFER6, QCUT_BUFFER7;
105 #endif 105 #endif
1764 *format_ret = 8; 1764 *format_ret = 8;
1765 *data_ret = x_encode_text (obj, Vnext_selection_coding_system, 1, 1765 *data_ret = x_encode_text (obj, Vnext_selection_coding_system, 1,
1766 (int *) size_ret, &stringp); 1766 (int *) size_ret, &stringp);
1767 *nofree_ret = (*data_ret == XSTRING (obj)->data); 1767 *nofree_ret = (*data_ret == XSTRING (obj)->data);
1768 if (EQ (Vnext_selection_coding_system, 1768 if (EQ (Vnext_selection_coding_system,
1769 Qcompound_text_with_extensions)) 1769 Qcompound_text_no_extensions))
1770 type = QCOMPOUND_TEXT; 1770 type = QCOMPOUND_TEXT;
1771 else if (NILP (type)) 1771 else if (NILP (type))
1772 type = (stringp ? QSTRING : QCOMPOUND_TEXT); 1772 type = (stringp ? QSTRING : QCOMPOUND_TEXT);
1773 Vlast_coding_system_used = (*nofree_ret 1773 Vlast_coding_system_used = (*nofree_ret
1774 ? Qraw_text 1774 ? Qraw_text
2433 QEMACS_TMP = intern ("_EMACS_TMP_"); staticpro (&QEMACS_TMP); 2433 QEMACS_TMP = intern ("_EMACS_TMP_"); staticpro (&QEMACS_TMP);
2434 QTARGETS = intern ("TARGETS"); staticpro (&QTARGETS); 2434 QTARGETS = intern ("TARGETS"); staticpro (&QTARGETS);
2435 QATOM = intern ("ATOM"); staticpro (&QATOM); 2435 QATOM = intern ("ATOM"); staticpro (&QATOM);
2436 QATOM_PAIR = intern ("ATOM_PAIR"); staticpro (&QATOM_PAIR); 2436 QATOM_PAIR = intern ("ATOM_PAIR"); staticpro (&QATOM_PAIR);
2437 QNULL = intern ("NULL"); staticpro (&QNULL); 2437 QNULL = intern ("NULL"); staticpro (&QNULL);
2438 Qcompound_text_with_extensions = intern ("compound-text-with-extensions"); 2438 Qcompound_text_no_extensions = intern ("compound-text-no-extensions");
2439 staticpro (&Qcompound_text_with_extensions); 2439 staticpro (&Qcompound_text_no_extensions);
2440 2440
2441 #ifdef CUT_BUFFER_SUPPORT 2441 #ifdef CUT_BUFFER_SUPPORT
2442 QCUT_BUFFER0 = intern ("CUT_BUFFER0"); staticpro (&QCUT_BUFFER0); 2442 QCUT_BUFFER0 = intern ("CUT_BUFFER0"); staticpro (&QCUT_BUFFER0);
2443 QCUT_BUFFER1 = intern ("CUT_BUFFER1"); staticpro (&QCUT_BUFFER1); 2443 QCUT_BUFFER1 = intern ("CUT_BUFFER1"); staticpro (&QCUT_BUFFER1);
2444 QCUT_BUFFER2 = intern ("CUT_BUFFER2"); staticpro (&QCUT_BUFFER2); 2444 QCUT_BUFFER2 = intern ("CUT_BUFFER2"); staticpro (&QCUT_BUFFER2);