]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/bookmark.el (bookmark-show-all-annotations): Sort them
authorBoruch Baum <boruch_baum@gmx.com>
Thu, 26 Mar 2015 01:43:51 +0000 (21:43 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 26 Mar 2015 01:43:51 +0000 (21:43 -0400)
Fixes: debbugs:20177
lisp/ChangeLog
lisp/bookmark.el

index 56c2b4c6f98e500a6847a15eea70981397a96be6..37ac1c5f3c8f796aff405bd0d036bbbf2a92ed1d 100644 (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
index a49ee7ec8b37cc8a998e5eb8d79fe16b9eff626a..dc8057e6e0d00b8f99312485aeef97907596d376 100644 (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"))