From: Eli Zaretskii Date: Sat, 22 Jun 2019 09:38:05 +0000 (+0300) Subject: ; * lisp/select.el (xselect--encode-string): Fix a thinko. X-Git-Tag: emacs-27.0.90~2321 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0b733a24ac200dc67221b34386fa1008677423d3;p=emacs.git ; * lisp/select.el (xselect--encode-string): Fix a thinko. --- diff --git a/lisp/select.el b/lisp/select.el index 935ad10cbf3..59bcf7da664 100644 --- a/lisp/select.el +++ b/lisp/select.el @@ -485,7 +485,7 @@ two markers or an overlay. Otherwise, it is nil." ;; are eight-bit and ensure they are converted to their ;; single-byte representation. (or (null (multibyte-string-p str)) - (setq str (encode-coding-string 'raw-text-unix str)))) + (setq str (encode-coding-string str 'raw-text-unix)))) (t (error "Unknown selection type: %S" type)))))