Function: eww-next-bookmark

eww-next-bookmark is an interactive and byte-compiled function defined in eww.el.gz.

Signature

(eww-next-bookmark)

Documentation

Go to the next bookmark in the list.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/net/eww.el.gz
(defun eww-next-bookmark ()
  "Go to the next bookmark in the list."
  (interactive nil eww-bookmark-mode)
  (let (fresh-buffer target-bookmark)
    (unless (get-buffer "*eww bookmarks*")
      (setq fresh-buffer t)
      (eww-list-bookmarks t))
    (with-current-buffer "*eww bookmarks*"
      (unless fresh-buffer
        (forward-line 1))
      (setq target-bookmark (nth 3 (vtable-current-object))))
    (unless target-bookmark
      ;; usually because we moved past end of the table
      (user-error "No next bookmark"))
    (eww-browse-url (plist-get target-bookmark :url))))