bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#21714: [PATCH] Add multiframe image support to NS port (bug#21714)


From: npostavs
Subject: bug#21714: [PATCH] Add multiframe image support to NS port (bug#21714)
Date: Sun, 13 Aug 2017 09:21:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux)

Alan Third <alan@idiocy.org> writes:
 
> +static Lisp_Object
> +image_spec_value (Lisp_Object spec, Lisp_Object key, bool *found)
> +{
> +  Lisp_Object tail;
> +
> +  eassert (valid_image_p (spec));
> +
> +  for (tail = XCDR (spec);
> +       CONSP (tail) && CONSP (XCDR (tail));
> +       tail = XCDR (XCDR (tail)))
> +    {
> +      if (EQ (XCAR (tail), key))
> +     {
> +       if (found)
> +         *found = 1;
> +       return XCAR (XCDR (tail));
> +     }
> +    }

Wouldn't it be clearer to call Fplist_get here?





reply via email to

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