Subject: Re: bug#33275: 27.0.50; Image cache pruning

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 21 Sep 2019 10:18:14 +0200

Eli Zaretskii <[email-masked]> writes:

>> So either a DONT-CACHE parameter to `image-size' or just a docstring
>> thing.  :-)
>
> How about both?

DONT-CACHE seems unnecessary since `image-flush' exists, so I've just
added a reference to that function in the `image-size' function.  It
should point people who need this towards doing something like

(dolist (file (directory-files-recursively "~/pics" "jpg$"))
  (let ((spec (create-image file)))
    (image-size spec t)
    (image-flush spec)))

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no