emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 3e0fc97: * lisp/bookmark.el (bookmark-show-all-anno


From: Stefan Monnier
Subject: [Emacs-diffs] master 3e0fc97: * lisp/bookmark.el (bookmark-show-all-annotations): Sort them
Date: Thu, 26 Mar 2015 01:43:58 +0000

branch: master
commit 3e0fc97befc105caf8d7519f1e6fd84c67a50a35
Author: Boruch Baum <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * lisp/bookmark.el (bookmark-show-all-annotations): Sort them
    
    Fixes: debbugs:20177
---
 lisp/ChangeLog   |    4 ++++
 lisp/bookmark.el |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 56c2b4c..37ac1c5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-26  Boruch Baum  <address@hidden>  (tiny change)
+
+       * bookmark.el (bookmark-show-all-annotations): Sort them (bug#20177).
+
 2015-03-25  Dmitry Gutov  <address@hidden>
 
        * json.el (json-special-chars): Don't treat `/' specially, there's
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index a49ee7e..dc8057e 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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]