summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-06-22 12:38:05 +0300
committerEli Zaretskii <eliz@gnu.org>2019-06-22 12:38:05 +0300
commit0b733a24ac200dc67221b34386fa1008677423d3 (patch)
treedba7c1c6034e12ab8a0e71630d6111f54e3063c9
parentd7da7ec32803c1f78dc610e4983cabb72d85373d (diff)
downloademacs-0b733a24ac200dc67221b34386fa1008677423d3.tar.gz
; * lisp/select.el (xselect--encode-string): Fix a thinko.
-rw-r--r--lisp/select.el2
1 files changed, 1 insertions, 1 deletions
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)))))