[Top][All Lists]

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

Re: [PATCH] Delayed loading of image libraries

From: Juanma Barranquero
Subject: Re: [PATCH] Delayed loading of image libraries
Date: Fri, 02 Jul 2004 09:41:53 +0200

On 02 Jul 2004 09:10:55 +0200
David Kastrup <address@hidden> wrote:

> It is
> not fine if an Emacs supporting PNG does not display a PNG.

Sure.  But currently, an Emacs supporting PNG *will* display a PNG if
the library is made available (either statically or dynamically).  Miles
thinks (or so I understand) that the responsability of making the
library available rests on lookup_image_type.  I believe the proper
thing to do is, at some point, calling `image-type-available-p'.

> > After loading, Emacs *must* ask at a moment or other whether the
> > image type is available, mustn't it?
> How about when displaying it?

And is not exactly that what I propose?

> Why should image-type-available-p have been called?

Because, AFAICS, is the only documented way to know whether a given
image type is supported.


reply via email to

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