[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33275: 27.0.50; Image cache pruning
From: |
Lars Ingebrigtsen |
Subject: |
bug#33275: 27.0.50; Image cache pruning |
Date: |
Sat, 21 Sep 2019 10:18:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#33275: 27.0.50; Image cache pruning,
Lars Ingebrigtsen <=