1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00

* lisp/bookmark.el (bookmark-show-all-annotations): Sort them

Fixes: debbugs:20177
This commit is contained in:
Boruch Baum 2015-03-25 21:43:51 -04:00 committed by Stefan Monnier
parent 124ea7763a
commit 3e0fc97bef
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2015-03-26 Boruch Baum <boruch_baum@gmx.com> (tiny change)
* bookmark.el (bookmark-show-all-annotations): Sort them (bug#20177).
2015-03-25 Dmitry Gutov <dgutov@yandex.ru>
* json.el (json-special-chars): Don't treat `/' specially, there's

View file

@ -1756,7 +1756,7 @@ if an annotation exists."
(save-selected-window
(pop-to-buffer (get-buffer-create "*Bookmark Annotation*") t)
(delete-region (point-min) (point-max))
(dolist (full-record bookmark-alist)
(dolist (full-record (bookmark-maybe-sort-alist))
(let* ((name (bookmark-name-from-full-record full-record))
(ann (bookmark-get-annotation full-record)))
(insert (concat name ":\n"))