emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xselect.c


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/src/xselect.c
Date: Fri, 31 May 2002 13:42:32 -0400

Index: emacs/src/xselect.c
diff -c emacs/src/xselect.c:1.115 emacs/src/xselect.c:1.116
*** emacs/src/xselect.c:1.115   Mon May 20 04:06:57 2002
--- emacs/src/xselect.c Fri May 31 13:42:32 2002
***************
*** 1766,1780 ****
                                 (int *) size_ret, &stringp);
        *nofree_ret = (*data_ret == XSTRING (obj)->data);
        if (NILP (type))
!       {
!         if (stringp && *nofree_ret)
!           type = QSTRING;
!         else if (EQ (Vnext_selection_coding_system,
!                      Qcompound_text_with_extensions))
!           type = QCOMPOUND_TEXT;
!         else
!           type = (stringp ? QSTRING : QCOMPOUND_TEXT);
!       }
        Vlast_coding_system_used = (*nofree_ret
                                  ? Qraw_text
                                  : Vnext_selection_coding_system);
--- 1766,1772 ----
                                 (int *) size_ret, &stringp);
        *nofree_ret = (*data_ret == XSTRING (obj)->data);
        if (NILP (type))
!       type = (stringp ? QSTRING : QCOMPOUND_TEXT);
        Vlast_coding_system_used = (*nofree_ret
                                  ? Qraw_text
                                  : Vnext_selection_coding_system);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]