Commit 11bade0a authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

eww anchor pointer movement fixup

* net/eww.el (eww-display-html): If we can't find the anchor we're
looking for, then go to point-min.
parent 8fb8c4f3
2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/eww.el (eww-display-html): If we can't find the anchor we're
looking for, then go to point-min.
2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
Fix problems with CANNOT_DUMP and EMACSLOADPATH.
......
......@@ -271,8 +271,9 @@ word(s) will be searched for via `eww-search-prefix'."
(shr-target-id
(let ((point (next-single-property-change
(point-min) 'shr-target-id)))
(when point
(goto-char (1+ point)))))
(goto-char (if point
(1+ point)
(point-min)))))
(t
(goto-char (point-min)))))
(setq eww-current-url url
......
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