emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113181: (eww-render): Move the history reset to the


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] trunk r113181: (eww-render): Move the history reset to the correct buffer.
Date: Tue, 25 Jun 2013 22:29:04 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113181
revision-id: address@hidden
parent: address@hidden
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Wed 2013-06-26 00:29:01 +0200
message:
  (eww-render): Move the history reset to the correct buffer.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/net/eww.el                eww.el-20130610114603-80ap3gwnw4x4m5ix-1
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-06-25 22:24:43 +0000
+++ b/lisp/ChangeLog    2013-06-25 22:29:01 +0000
@@ -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  <address@hidden>
 

=== modified file 'lisp/net/eww.el'
--- a/lisp/net/eww.el   2013-06-25 22:24:43 +0000
+++ b/lisp/net/eww.el   2013-06-25 22:29:01 +0000
@@ -118,7 +118,6 @@
     (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 @@
            (eww-display-image))
           (t
            (eww-display-raw charset)))
+         (setq eww-history-position 0)
          (cond
           (point
            (goto-char point))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]