Commit 26bf2b82 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

(eww-render): Move the history reset to the correct buffer.

parent 8308f184
......@@ -3,6 +3,7 @@
* net/eww.el: Rework history traversal. When going forward/back,
put these actions into the history, too, so that they can be
replayed.
(eww-render): Move the history reset to the correct buffer.
2013-06-25 Juri Linkov <juri@jurta.org>
......
......@@ -118,7 +118,6 @@ word(s) will be searched for via `eww-search-prefix'."
(unless (string-match-p "\\'file:" url)
(setq url (concat eww-search-prefix
(replace-regexp-in-string " " "+" url)))))
(setq eww-history-position 0)
(url-retrieve url 'eww-render (list url)))
;;;###autoload
......@@ -161,6 +160,7 @@ word(s) will be searched for via `eww-search-prefix'."
(eww-display-image))
(t
(eww-display-raw charset)))
(setq eww-history-position 0)
(cond
(point
(goto-char point))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment