emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 0b733a2: ; * lisp/select.el (xselect--encode-string


From: Eli Zaretskii
Subject: [Emacs-diffs] master 0b733a2: ; * lisp/select.el (xselect--encode-string): Fix a thinko.
Date: Sat, 22 Jun 2019 05:38:34 -0400 (EDT)

branch: master
commit 0b733a24ac200dc67221b34386fa1008677423d3
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    ; * 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 935ad10..59bcf7d 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)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]