Hi.
Recently. I have added this line to my dotemacs w3m setup.
--8<---------------cut here---------------start------------->8---
(setq
w3m-use-favicon t
)
--8<---------------cut here---------------end--------------->8---
Then on some sites I am getting an "out of range" error.
so I have added this line to the function
--8<---------------cut here---------------start------------->8---
(defun w3m-favicon-convert (data type)
"Convert the favicon DATA in TYPE to the favicon image and return it."
+ (when (> (length data) 0)
(when (or (not (eq type 'ico))
--8<---------------cut here---------------end--------------->8---
And obviously. You would need to add the closing parentheses at the end.
Perhaps someone could add that simple patch or elaborate a better
version of the patch.
BR
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.