lisp/gnus/eww.el (eww-browse-url): Don't add a User-Agent (twice), because that makes Bing refuse connection
This commit is contained in:
parent
c74cb3449a
commit
5c3087e976
2 changed files with 5 additions and 6 deletions
|
@ -1,6 +1,8 @@
|
|||
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.
|
||||
|
|
|
@ -222,12 +222,9 @@
|
|||
(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."
|
||||
|
|
Loading…
Add table
Reference in a new issue