Mercurial > emacs
changeset 56674:302e4e1415d3
term/x-win.el (x-selection-value): If utf8 was successful but
ctext was not, use utf8 string.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 16 Aug 2004 00:04:03 +0000 |
parents | e9a6cbc8ca5e |
children | eeb560db002c |
files | lisp/term/x-win.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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