# HG changeset patch # User Kenichi Handa # Date 1092614643 0 # Node ID 302e4e1415d3404358c0e60239e8dc0473208b23 # Parent e9a6cbc8ca5ef9ad8a9a313ab1fe0fd4ba8cb200 term/x-win.el (x-selection-value): If utf8 was successful but ctext was not, use utf8 string. diff -r e9a6cbc8ca5e -r 302e4e1415d3 lisp/term/x-win.el --- a/lisp/term/x-win.el Sun Aug 15 22:00:06 2004 +0000 +++ b/lisp/term/x-win.el Mon Aug 16 00:04:03 2004 +0000 @@ -2212,7 +2212,8 @@ (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