Function: eww--bookmark-format-data

eww--bookmark-format-data is a byte-compiled function defined in eww.el.gz.

Signature

(eww--bookmark-format-data)

Documentation

Format eww-bookmarks for use in a vtable.

The data is returned as a list (order title url bookmark), for use in of eww-bookmark-mode. Order stars counting from 1.

Source Code

;; Defined in /usr/src/emacs/lisp/net/eww.el.gz
(defun eww--bookmark-format-data ()
  "Format `eww-bookmarks' for use in a vtable.
The data is returned as a list (order title url bookmark), for use
in of `eww-bookmark-mode'.  Order stars counting from 1."
  (seq-map-indexed (lambda (bm index)
                     (list
                      (+ 1 index)
                      (plist-get bm :title)
                      (plist-get bm :url)
                      bm))
                   eww-bookmarks))