2013-06-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
* eww.el (eww-display-html): Default to using the entire window width.
+ (eww-browse-url): Don't add a User-Agent header (twice), because that
+ makes Bing refuse connection.
* shr.el (shr-make-table): Cache the table rendering at the table
level, and not the <td> level. This is a bit faster.
(set (make-local-variable 'browse-url-browser-function) 'eww-browse-url))
(defun eww-browse-url (url &optional new-window)
- (let ((url-request-extra-headers
- (append '(("User-Agent" . "eww/1.0"))
- url-request-extra-headers)))
- (push (list eww-current-url (point))
- eww-history)
- (eww url)))
+ (push (list eww-current-url (point))
+ eww-history)
+ (eww url))
(defun eww-quit ()
"Exit the Emacs Web Wowser."