[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

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



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, view it on GitHub, or mute the thread.