(eww-reload): Reload the page in the right buffer.

This commit is contained in:
Ivan Shmakov 2014-11-19 18:37:18 +01:00 committed by Lars Magne Ingebrigtsen
parent 8d5bfc4900
commit 9fd6f5963b
2 changed files with 3 additions and 1 deletions

View file

@ -2,6 +2,7 @@
* net/eww.el (eww-history-limit): New variable.
(eww-save-history): Use it.
(eww-reload): Reload the page in the right buffer.
2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>

View file

@ -705,7 +705,8 @@ appears in a <link> or <a> tag."
"Reload the current page."
(interactive)
(let ((url (plist-get eww-data :url)))
(url-retrieve url 'eww-render (list url (point)))))
(url-retrieve url 'eww-render
(list url (point) (current-buffer)))))
;; Form support.