Include last modification time when adding custom-type bookmarks
This commit is contained in:
parent
15d202340f
commit
ed0286dc95
|
@ -770,10 +770,10 @@ number of bytes has been inserted."
|
||||||
HANDLER is a function receiving a single argument, namely
|
HANDLER is a function receiving a single argument, namely
|
||||||
LOCATION. If a bookmark named NAME is already present, replace
|
LOCATION. If a bookmark named NAME is already present, replace
|
||||||
it."
|
it."
|
||||||
(bookmark-store name
|
(let ((new-record `((filename . ,location)
|
||||||
`((filename . ,location)
|
(handler . ,handler))))
|
||||||
(handler . ,handler))
|
(bookmark-update-last-modified new-record)
|
||||||
nil))
|
(bookmark-store name new-record nil)))
|
||||||
|
|
||||||
(defun db/bookmark-browse-url (bmk)
|
(defun db/bookmark-browse-url (bmk)
|
||||||
"Extract filename from bookmark BMK and apply `browse-url' to it."
|
"Extract filename from bookmark BMK and apply `browse-url' to it."
|
||||||
|
|
Loading…
Reference in New Issue