From: Tim Vaughan Date: Sun, 28 Jun 2020 13:12:51 +0000 (+0200) Subject: Basic POP history to bookmarks page. X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=489b8f208d3938a96610ed050734d382951d790b;p=elpher.git Basic POP history to bookmarks page. --- diff --git a/elpher.el b/elpher.el index f2a8188..0fef0ac 100644 --- a/elpher.el +++ b/elpher.el @@ -1553,6 +1553,7 @@ The result is rendered using RENDERER." 'face 'shadow)) (elpher-restore-pos))) + ;; Bookmarks page page retrieval (defun elpher-get-bookmarks-page (renderer) @@ -1586,6 +1587,13 @@ The result is rendered using RENDERER." 'follow-link t 'help-echo help-string)) (insert "\n") + (insert "\n--- Recently visited ---\n\n") + (maphash (lambda (address _) + (unless (elpher-address-special-p address) + (elpher-insert-index-record (elpher-address-to-url address) + address))) + elpher-content-cache) + (insert "\n------------------------\n") (elpher-restore-pos)))