[Top][All Lists]

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

Re: [PATCH] Delayed loading of image libraries

From: Miles Bader
Subject: Re: [PATCH] Delayed loading of image libraries
Date: Fri, 02 Jul 2004 16:56:51 +0900

Juanma Barranquero <address@hidden> writes:
> 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 have no particular opinion about which exact function does it, but it
_should_ be done `transparently' -- that is any place where a lisp value
is used to compute deeper information (for display or otherwise).

Two important functions for that are `valid_image_p' (called by all
sorts of image-manipulation functions), and `lookup_image' (called by
the display engine).  Both of those call `lookup_image_type', and thus
my placing a call to image-type-validation there.

If I omitted an argument, obviously my change was flawed, but the
location seems reasonable.

We are all lying in the gutter, but some of us are looking at the stars.
-Oscar Wilde

reply via email to

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