aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/select.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/select.el')
-rw-r--r--lisp/select.el5
1 files changed, 0 insertions, 5 deletions
diff --git a/lisp/select.el b/lisp/select.el
index bca19a5cd6..565ddd7d22 100644
--- a/lisp/select.el
+++ b/lisp/select.el
@@ -144,11 +144,6 @@ Cut buffers are considered obsolete; you should use selections instead."
(or (stringp string) (signal 'wrong-type-argument (list 'string string)))
(if push
(x-rotate-cut-buffers-internal 1))
- (if (> (string-bytes string) (length string))
- ;; STRING is a multibyte string contains non-ASCII characters.
- (if locale-coding-system
- (setq string (encode-coding-string string locale-coding-system))
- (setq string (string-make-unibyte string))))
(x-store-cut-buffer-internal 'CUT_BUFFER0 string))