emacs-devel
[Top][All Lists]
Advanced

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

Re: 7 logical-xor implementations in source tree


From: Eli Zaretskii
Subject: Re: 7 logical-xor implementations in source tree
Date: Tue, 23 Jul 2019 20:12:32 +0300

> From: Mattias EngdegÄrd <address@hidden>
> Date: Tue, 23 Jul 2019 18:41:09 +0200
> Cc: Andy Moreton <address@hidden>, address@hidden
> 
> +(define-inline xor (arg1 arg2)
> +  "Boolean exclusive-or: the non-nil argument if the other is nil, else nil."

I think this doc string tries to pack too much into a single short
sentence.  How about this instead:

    "Return the boolean exclusive-or of ARG1 and ARG2.
  If only one of the two arguments is non-nil, the function returns
  that argument; otherwise it returns nil."

Thanks.



reply via email to

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