From 23e16093ecd087847f494aaebbf58816415eed06 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 22 Feb 2002 13:20:00 +0000 Subject: [PATCH] Fix last change. --- src/ChangeLog | 4 ++-- src/xselect.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 078a6178f7d..579370e65cd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,12 +2,12 @@ Support for ICCCM Extended Segments in X selections: - * xselect.c : New variable. + * xselect.c : New variable. (syms_of_xselect): Intern and staticpro it. (selection_data_to_lisp_data): Run post-read-conversion on decoded selection text. (lisp_data_to_selection_data): If next-selection-coding-system is - compound-text-with-extensions, set the type of selection to be + compound-text-no-extensions, set the type of selection to be compound-text. * xterm.h (x_encode_text): Update prototype. diff --git a/src/xselect.c b/src/xselect.c index a3ec3e40d0e..660e0060020 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -97,7 +97,7 @@ Lisp_Object QPRIMARY, QSECONDARY, QSTRING, QINTEGER, QCLIPBOARD, QTIMESTAMP, Lisp_Object QCOMPOUND_TEXT; /* This is a type of selection. */ -Lisp_Object Qcompound_text_with_extensions; +Lisp_Object Qcompound_text_no_extensions; #ifdef CUT_BUFFER_SUPPORT Lisp_Object QCUT_BUFFER0, QCUT_BUFFER1, QCUT_BUFFER2, QCUT_BUFFER3, @@ -1766,7 +1766,7 @@ lisp_data_to_selection_data (display, obj, (int *) size_ret, &stringp); *nofree_ret = (*data_ret == XSTRING (obj)->data); if (EQ (Vnext_selection_coding_system, - Qcompound_text_with_extensions)) + Qcompound_text_no_extensions)) type = QCOMPOUND_TEXT; else if (NILP (type)) type = (stringp ? QSTRING : QCOMPOUND_TEXT); @@ -2435,8 +2435,8 @@ A value of 0 means wait as long as necessary. This is initialized from the QATOM = intern ("ATOM"); staticpro (&QATOM); QATOM_PAIR = intern ("ATOM_PAIR"); staticpro (&QATOM_PAIR); QNULL = intern ("NULL"); staticpro (&QNULL); - Qcompound_text_with_extensions = intern ("compound-text-with-extensions"); - staticpro (&Qcompound_text_with_extensions); + Qcompound_text_no_extensions = intern ("compound-text-no-extensions"); + staticpro (&Qcompound_text_no_extensions); #ifdef CUT_BUFFER_SUPPORT QCUT_BUFFER0 = intern ("CUT_BUFFER0"); staticpro (&QCUT_BUFFER0); -- 2.39.2