; * lisp/select.el (xselect--encode-string): Fix a thinko.

This commit is contained in:
Eli Zaretskii 2019-06-22 12:38:05 +03:00
parent d7da7ec328
commit 0b733a24ac

View 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)))))