From 26bf2b82d8a028a42cf8ad8f0aa284561c4cde7f Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Wed, 26 Jun 2013 00:29:01 +0200 Subject: [PATCH] (eww-render): Move the history reset to the correct buffer. --- lisp/ChangeLog | 1 + lisp/net/eww.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 10b5daaac04..493052d4dcb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 diff --git a/lisp/net/eww.el b/lisp/net/eww.el index eaff1a1b985..61bb4235c34 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -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)) -- 2.39.2