emacs-devel
[Top][All Lists]
Advanced

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

Re: Line wrap reconsidered


From: Stefan Monnier
Subject: Re: Line wrap reconsidered
Date: Sat, 18 Jul 2020 16:25:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> I changed the it, do you code below this is ok?
>
>   if (ch == 0)
>     return false;
>   else
>     return CHAR_HAS_CATEGORY(ch, cat);

Aka

    return (ch == 0) ? false: CHAR_HAS_CATEGORY (ch, cat);

Aka

    return ch && CHAR_HAS_CATEGORY (ch, cat)


-- Stefan


PS: Notice also the space before the open-paren




reply via email to

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