[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.
- Re: 7 logical-xor implementations in source tree, (continued)
- Re: 7 logical-xor implementations in source tree, Basil L. Contovounesios, 2019/07/23
- Re: 7 logical-xor implementations in source tree, Yuri Khan, 2019/07/23
- Re: 7 logical-xor implementations in source tree, Juri Linkov, 2019/07/25
- Re: 7 logical-xor implementations in source tree, Noam Postavsky, 2019/07/23
- Re: 7 logical-xor implementations in source tree, Stefan Monnier, 2019/07/23
- Re: 7 logical-xor implementations in source tree, Mattias EngdegÄrd, 2019/07/23
- Re: 7 logical-xor implementations in source tree,
Eli Zaretskii <=
- Re: 7 logical-xor implementations in source tree, Paul Eggert, 2019/07/23
- Re: 7 logical-xor implementations in source tree, Stefan Monnier, 2019/07/23