Save bookmarks added with custom handlers

I am saving bookmarks anyway, so why not do it automatically.
This commit is contained in:
Daniel Borchmann 2024-07-06 09:18:31 +02:00
parent 0b82dd1945
commit 0acc0687ea
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

@ -777,7 +777,8 @@ it."
(let ((new-record `((filename . ,location)
(handler . ,handler))))
(bookmark-update-last-modified new-record)
(bookmark-store name new-record nil)))
(bookmark-store name new-record nil)
(bookmark-save)))
(defun db/bookmark-browse-url (bmk)
"Extract filename from bookmark BMK and apply `browse-url' to it."