summaryrefslogtreecommitdiff
path: root/eww-conf.el
diff options
context:
space:
mode:
Diffstat (limited to 'eww-conf.el')
-rw-r--r--eww-conf.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/eww-conf.el b/eww-conf.el
index 86b2cd8..ad6cbfd 100644
--- a/eww-conf.el
+++ b/eww-conf.el
@@ -439,6 +439,7 @@ Otherwise, fetch URL and afterwards try to restore the point."
(bookmark-get-front-context-string bookmark)))
(rear (cons 'rear-context-string
(bookmark-get-rear-context-string bookmark)))
+ (position (cons 'position (bookmark-get-position bookmark)))
(eww-buffers
(delq
nil
@@ -522,10 +523,12 @@ Otherwise, fetch URL and afterwards try to restore the point."
"Restore the point after render."
(remove-hook
'eww-after-render-hook
- #'durand-eww-bookmark-restore-point-hook)
+ #'durand-eww-bookmark-restore-point-hook
+ t)
(bookmark-default-handler
(list
- "" (cons 'buffer buffer) front rear)))))))))))
+ "" (cons 'buffer buffer) front rear)))
+ nil t))))))))
((user-error "Cannot jump to this bookmark")))))
(provide 'eww-conf)