[emacs-w3m:13499] [emacs-w3m/emacs-w3m] Removed test on image-types in w3m-favicon type causes an error in 20190712 (#63)

chipschap <[email protected]>
Newsgroups gmane.emacs.w3m
Message-ID <emacs-w3m/emacs-w3m/issues/[email protected]>
Possible regression: just prior to 20190712 the defcustom w3m-favicon-type (in w3-favicon.el) included an fboundp test for 'image-types. The code looks to have been refactored and now image-types is referenced without a check.

In environments where image-types is not defined, such as a non-graphics terminal (the error turned up for me under Termux), an undefined variable error results. The test needs to be restored in the new code, I believe.

My temporary workaround in my startup code is, prior to setting up w3m, inserting a check for non-graphics environment and then setting image-types to nil. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/emacs-w3m/emacs-w3m/issues/63
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.