emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 58a3c54: Avoid using string-make-unibyte in sel


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master 58a3c54: Avoid using string-make-unibyte in select.el
Date: Sat, 22 Jun 2019 09:26:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> +            (or (null (multibyte-string-p str))
> +                (setq str (encode-coding-string 'raw-text-unix str))))

Isn't this the same as (setq str (string-to-unibyte str))?


        Stefan




reply via email to

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