From f05394cca81679201bbdd24db07b9c41472be1ec Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 13 Mar 2003 06:27:57 +0000 Subject: [PATCH] *** empty log message *** --- lisp/term/x-win.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index c25b7402260..f1708d9ccc6 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -2126,6 +2126,9 @@ This is in addition to, but in preference to, the primary selection." (cond ((>= (length text) x-cut-buffer-max) (x-set-cut-buffer "" push) (setq x-last-selected-text-cut "")) + ;; Don't store a multibyte string that contains + ;; eight-bit-control/graphic chars because they can't be + ;; restored correctly by x-get-cut-buffer. ((and (multibyte-string-p text) (let ((charsets (find-charset-string text))) (or (memq 'eight-bit-control charsets) -- 2.39.5