From c3ff5bc11c41cbb4e6d361e38675556eb455a372 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Mon, 16 Aug 2004 00:07:23 +0000 Subject: [PATCH] term/x-win.el (x-selection-value): If utf8 was successful but ctext was not, use utf8 string. --- lisp/ChangeLog | 5 +++++ lisp/term/x-win.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c10c342abe5..a3552763a8c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2004-08-15 Kenichi Handa + + * term/x-win.el (x-selection-value): If utf8 was successful but + ctext was not, use utf8 string. + 2004-08-14 Davis Herring * isearch.el: Remove accidental changes of March 4. Fix backing diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index d9700809413..61602d1f355 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -2212,7 +2212,8 @@ order until succeed.") (if utf8 (setq text (x-select-utf8-or-ctext utf8 ctext)) ;; Othewise, choose CTEXT. - (setq text ctext)))) + (setq text ctext)) + (setq text utf8))) ;; If not yet decided, try STRING. (or text (setq text (condition-case nil -- 2.39.2