[Top][All Lists]

[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.


reply via email to

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