mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-03 12:31:32 -08:00
(eww-render): Move the history reset to the correct buffer.
This commit is contained in:
parent
8308f18498
commit
26bf2b82d8
2 changed files with 2 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue