bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#15622: eww: url-retrieve-internal: Wrong type argument: char-or-stri


From: Glenn Morris
Subject: bug#15622: eww: url-retrieve-internal: Wrong type argument: char-or-string-p, author
Date: Tue, 15 Oct 2013 16:50:23 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]