Include last modification time when adding custom-type bookmarks

This commit is contained in:
Daniel - 2023-11-27 18:02:14 +01:00
parent 15d202340f
commit ed0286dc95
Signed by: dbo
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 4 additions and 4 deletions

View File

@ -770,10 +770,10 @@ number of bytes has been inserted."
HANDLER is a function receiving a single argument, namely
LOCATION. If a bookmark named NAME is already present, replace
it."
(bookmark-store name
`((filename . ,location)
(handler . ,handler))
nil))
(let ((new-record `((filename . ,location)
(handler . ,handler))))
(bookmark-update-last-modified new-record)
(bookmark-store name new-record nil)))
(defun db/bookmark-browse-url (bmk)
"Extract filename from bookmark BMK and apply `browse-url' to it."