[Utils] Small helper to add eww bookmarks

This commit is contained in:
Daniel - 2019-02-09 11:45:45 +01:00
parent 3e12fbea46
commit 809622d982
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 5 additions and 0 deletions

View File

@ -574,6 +574,11 @@ it. The bookmarks will finally be sorted by their name."
(interactive "sURL: \nsName: ")
(db/bookmark-add-with-handler name url #'browse-url))
(defun db/bookmark-add-eww (url name)
"Add NAME as bookmark to URL to be opened with `eww."
(interactive "sURL: \nsName: ")
(db/bookmark-add-with-handler name url #'eww))
;;; End