]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/select.el (xselect--encode-string): Fix a thinko.
authorEli Zaretskii <eliz@gnu.org>
Sat, 22 Jun 2019 09:38:05 +0000 (12:38 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 22 Jun 2019 09:38:05 +0000 (12:38 +0300)
lisp/select.el

index 935ad10cbf33a7dd149470db15ba250ff6409dbf..59bcf7da664dac149c6051d96f0bdff51de95d49 100644 (file)
@@ -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)))))