aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/eww.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 34c6728ba9e..afcd2ecb391 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -271,8 +271,9 @@ word(s) will be searched for via `eww-search-prefix'."
271 (shr-target-id 271 (shr-target-id
272 (let ((point (next-single-property-change 272 (let ((point (next-single-property-change
273 (point-min) 'shr-target-id))) 273 (point-min) 'shr-target-id)))
274 (when point 274 (goto-char (if point
275 (goto-char (1+ point))))) 275 (1+ point)
276 (point-min)))))
276 (t 277 (t
277 (goto-char (point-min))))) 278 (goto-char (point-min)))))
278 (setq eww-current-url url 279 (setq eww-current-url url