emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs-26 8f18d12: Improve documentation of decoding into a unibyte b


From: Eli Zaretskii
Subject: Re: emacs-26 8f18d12: Improve documentation of decoding into a unibyte buffer
Date: Tue, 28 May 2019 07:40:39 +0300
User-agent: K-9 Mail for Android

On May 28, 2019 6:08:36 AM GMT+03:00, Stefan Monnier <address@hidden> wrote:

> and according to my quick investigation, all callers pass a string
> that's coming straight from encode-coding-string or
> encode-coding-char,
> so the argument should *always* be unibyte, AFAICT.
> 
> Hence according to my reading of the code, this call to
> string-as-unibyte will always just return its argument unchanged.


That's not entirely true, because encode-coding-char can return a multibyte 
string.  Depending on what you wanted to suggest based on your conclusion, that 
factoid may or may not be important.



reply via email to

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