[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: the state of the concurrency branch
From: |
Tom Tromey |
Subject: |
Re: the state of the concurrency branch |
Date: |
Tue, 27 Aug 2013 12:33:48 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Stefan> DEFUN ("mutexp", Fmutexp, Smutexp, 1, 1, 0,
Stefan> doc: /* Return t if OBJECT is a mutex. */)
Stefan> (Lisp_Object object)
Stefan> {
Stefan> - if (MUTEXP (object))
Stefan> - return Qt;
Stefan> - else
Stefan> - return Qnil;
Stefan> + return (MUTEXP (object) ? Qt : Qnil);
Stefan> }
Here all the other predicate functions follow the style:
if (MUTEXP (object))
return Qt;
return Qnil;
So I have adopted that instead.
Tom
- Re: the state of the concurrency branch, (continued)
- Re: the state of the concurrency branch, Tom Tromey, 2013/08/27
- Re: the state of the concurrency branch, Stefan Monnier, 2013/08/27
- Re: the state of the concurrency branch, Eli Zaretskii, 2013/08/28
- Re: the state of the concurrency branch, Tom Tromey, 2013/08/28
- Re: the state of the concurrency branch, Eli Zaretskii, 2013/08/28
- Re: the state of the concurrency branch, Stefan Monnier, 2013/08/28
- Re: the state of the concurrency branch, Tom Tromey, 2013/08/28
- Re: the state of the concurrency branch, Stefan Monnier, 2013/08/28
- Re: the state of the concurrency branch, Stefan Monnier, 2013/08/27
- Re: the state of the concurrency branch, Tom Tromey, 2013/08/27
- Re: the state of the concurrency branch,
Tom Tromey <=
- Re: the state of the concurrency branch, Eli Zaretskii, 2013/08/28