Subject: Re: bug#52554: 28.0.90; mm-inline-media-tests customization breaks .emacs reading

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 20 Dec 2021 10:22:01 +0100

Robert Pluim <[email-masked]> writes:

> It is kind of awkward to use, but then again, I only wanted to delete
> an entry, and itʼs not something Iʼd do often. The embedded code
> bothers me more: customize is supposed to be about configuration
> variables.

Yup.  I'm not sure how to express stuff like

    ("image/png"
     mm-inline-image
     ,(lambda (handle)
       (mm-valid-and-fit-image-p 'png handle)))

and

    ("text/x-vcard"
     mm-inline-text-vcard
     ,(lambda (_handle)
       (or (featurep 'vcard)
	   (locate-library "vcard"))))

in a defcustom-friendly way without having an explosion of helper
functions, though.

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