]> git.eshelyaron.com Git - emacs.git/commit
Add a last-modified field when a bookmark is set
authorManuel Giraud <manuel@ledu-giraud.fr>
Tue, 31 May 2022 18:35:39 +0000 (20:35 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 31 May 2022 18:35:39 +0000 (20:35 +0200)
commitf461eb8fa770a6f6b048f13684bd697756f8790c
tree7ba450580e1781c14be8b1fc032090fa5e304432
parent6a2cc870d23485a8f440a8b58768eefdf16c8912
Add a last-modified field when a bookmark is set

* test/lisp/bookmark-tests.el (bookmark-tests-make-record)
(bookmark-tests-make-record-list, bookmark-tests-set): fix tests
to not consider last-modified in bookmark equality.
* lisp/bookmark.el (bookmark-make-record-default): add a
last-modified field.
(bookmark-sort-flag): add the 'last-modified choice.
(bookmark-get-last-modified): new function to get last-modified
bookmark field.
(bookmark-maybe-sort-alist): sort in last-modified first order.
(bookmark-completing-read): use `bookmark-maybe-sort-alist'.
etc/NEWS
lisp/bookmark.el
test/lisp/bookmark-tests.el