GNU bug report logs -
#15622
eww: url-retrieve-internal: Wrong type argument: char-or-string-p, author
Previous Next
Reported by: Svend Sorensen <svend <at> ciffer.net>
Date: Tue, 15 Oct 2013 16:19:01 UTC
Severity: normal
Fixed in version 24.4
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Svend Sorensen wrote:
> eww-current-url is set to 'author when visiting a URL of a web page with no
> title.
Actually I believe it is whenever it visits anything that is not of type
"text/html". This should fix it:
*** lisp/net/eww.el 2013-09-18 04:48:55 +0000
--- lisp/net/eww.el 2013-10-15 20:45:47 +0000
***************
*** 157,165 ****
((equal (car content-type) "text/html")
(eww-display-html charset url))
((string-match "^image/" (car content-type))
! (eww-display-image))
(t
! (eww-display-raw)))
(setq eww-history-position 0)
(cond
(point
--- 157,167 ----
((equal (car content-type) "text/html")
(eww-display-html charset url))
((string-match "^image/" (car content-type))
! (eww-display-image)
! (setq eww-current-url url))
(t
! (eww-display-raw)
! (setq eww-current-url url)))
(setq eww-history-position 0)
(cond
(point
This bug report was last modified 11 years and 225 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.