mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-03 08:30:09 +00:00
Fix last change.
This commit is contained in:
parent
fbbe0aceda
commit
23e16093ec
@ -2,12 +2,12 @@
|
||||
|
||||
Support for ICCCM Extended Segments in X selections:
|
||||
|
||||
* xselect.c <Qcompound_text_with_extensions>: New variable.
|
||||
* xselect.c <Qcompound_text_no_extensions>: 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.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user