From 0b733a24ac200dc67221b34386fa1008677423d3 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 22 Jun 2019 12:38:05 +0300 Subject: ; * lisp/select.el (xselect--encode-string): Fix a thinko. --- lisp/select.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))))) -- cgit v1.2.1