mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 13:27:36 +00:00
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.
This commit is contained in:
parent
8fb8c4f373
commit
11bade0ad8
2 changed files with 8 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue