Re: Wrapping my head around icon-map-list

Antonio Romano <[email protected]>
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
tpeplt <[email protected]> writes:

> Unfortunately, though, it appears that the Easy
> Customization interface sets the value of ‘icon-map-list’ to
> the same value as the original value set by the poster, that
> is,
>
>    icon-map-list => (("etc/images/diropen" . "document-new") x-gtk-stock-map)
>
> which is not a list of association lists.  This appears to
> be an error in the code that sets the value of this user option.

Yes. This is correct and even produces the wanted result:

(setopt icon-map-list '((("etc/images/diropen" . "document-new"))
		       x-gtk-stock-map))

But it gives me a warning:

⛔ Warning (emacs): Value ‘((("etc/images/diropen" . "document-new"))
x-gtk-stock-map)’ does not match type (choice (const :tag Don't use
stock icons nil) (repeat (choice symbol (cons (string :tag Emacs icon)
(string :tag Stock/named)))))

So I think this is a bug to report, isn't it?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.