Commit 0b733a24 authored by Eli Zaretskii's avatar Eli Zaretskii

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

parent d7da7ec3
Pipeline #2209 failed with stage
in 90 minutes and 1 second
...@@ -485,7 +485,7 @@ two markers or an overlay. Otherwise, it is nil." ...@@ -485,7 +485,7 @@ two markers or an overlay. Otherwise, it is nil."
;; are eight-bit and ensure they are converted to their ;; are eight-bit and ensure they are converted to their
;; single-byte representation. ;; single-byte representation.
(or (null (multibyte-string-p str)) (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 (t
(error "Unknown selection type: %S" type))))) (error "Unknown selection type: %S" type)))))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment