* How to setopt mm-inline-media-tests?
@ 2024-07-11 16:26 Tomas Volf
2024-07-12 0:22 ` Michael Heerdegen via Users list for the GNU Emacs text editor
0 siblings, 1 reply; 2+ messages in thread
From: Tomas Volf @ 2024-07-11 16:26 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
I am trying to modify mm-inline-media-tests, but not matter what I do I cannot
get rid of following warning:
[..] does not match type (repeat (list (regexp :tag MIME type) (function :tag Display function) (function :tag Display test)))
I even get this warning when I just set the variable to its default value
(executed under emacs -Q):
(require 'mm-decode)
(setopt mm-inline-media-tests mm-inline-media-tests)
Could someone please point me into the right direction what is the expected way
to modify the value without getting the warning?
Thank you,
Tomas Volf
--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to setopt mm-inline-media-tests?
2024-07-11 16:26 How to setopt mm-inline-media-tests? Tomas Volf
@ 2024-07-12 0:22 ` Michael Heerdegen via Users list for the GNU Emacs text editor
0 siblings, 0 replies; 2+ messages in thread
From: Michael Heerdegen via Users list for the GNU Emacs text editor @ 2024-07-12 0:22 UTC (permalink / raw)
To: help-gnu-emacs
Tomas Volf <~@wolfsden.cz> writes:
> [..] does not match type (repeat (list (regexp :tag MIME type)
> (function :tag Display function) (function :tag Display test)))
>
> I even get this warning when I just set the variable to its default value
> (executed under emacs -Q):
>
> (require 'mm-decode)
> (setopt mm-inline-media-tests mm-inline-media-tests)
>
> Could someone please point me into the right direction what is the
> expected way
> to modify the value without getting the warning?
Make all of the referred functions defined:
(require 'mm-decode)
(require 'mm-view) ; <- !
(setopt mm-inline-media-tests mm-inline-media-tests)
Michael.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-12 0:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-11 16:26 How to setopt mm-inline-media-tests? Tomas Volf
2024-07-12 0:22 ` Michael Heerdegen via Users list for the GNU Emacs text editor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).