From 0acc0687ea38c7b14553568976aed5b601303e3f Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 6 Jul 2024 09:18:31 +0200 Subject: [PATCH] Save bookmarks added with custom handlers I am saving bookmarks anyway, so why not do it automatically. --- site-lisp/db-utils.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site-lisp/db-utils.el b/site-lisp/db-utils.el index 121b5b0..280b7e0 100644 --- a/site-lisp/db-utils.el +++ b/site-lisp/db-utils.el @@ -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."