summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/bookmark.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 56c2b4c6f98..37ac1c5f3c8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index a49ee7ec8b3..dc8057e6e0d 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -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"))