diff options
| author | Boruch Baum | 2015-03-25 21:43:51 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2015-03-25 21:43:51 -0400 |
| commit | 3e0fc97befc105caf8d7519f1e6fd84c67a50a35 (patch) | |
| tree | e7867480ab7d308c56662cc81ec47acbd4c81cdf | |
| parent | 124ea7763a64719a8d461217d25b7ac5b1cefd18 (diff) | |
| download | emacs-3e0fc97befc105caf8d7519f1e6fd84c67a50a35.tar.gz emacs-3e0fc97befc105caf8d7519f1e6fd84c67a50a35.zip | |
* lisp/bookmark.el (bookmark-show-all-annotations): Sort them
Fixes: debbugs:20177
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/bookmark.el | 2 |
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 @@ | |||
| 1 | 2015-03-26 Boruch Baum <boruch_baum@gmx.com> (tiny change) | ||
| 2 | |||
| 3 | * bookmark.el (bookmark-show-all-annotations): Sort them (bug#20177). | ||
| 4 | |||
| 1 | 2015-03-25 Dmitry Gutov <dgutov@yandex.ru> | 5 | 2015-03-25 Dmitry Gutov <dgutov@yandex.ru> |
| 2 | 6 | ||
| 3 | * json.el (json-special-chars): Don't treat `/' specially, there's | 7 | * 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." | |||
| 1756 | (save-selected-window | 1756 | (save-selected-window |
| 1757 | (pop-to-buffer (get-buffer-create "*Bookmark Annotation*") t) | 1757 | (pop-to-buffer (get-buffer-create "*Bookmark Annotation*") t) |
| 1758 | (delete-region (point-min) (point-max)) | 1758 | (delete-region (point-min) (point-max)) |
| 1759 | (dolist (full-record bookmark-alist) | 1759 | (dolist (full-record (bookmark-maybe-sort-alist)) |
| 1760 | (let* ((name (bookmark-name-from-full-record full-record)) | 1760 | (let* ((name (bookmark-name-from-full-record full-record)) |
| 1761 | (ann (bookmark-get-annotation full-record))) | 1761 | (ann (bookmark-get-annotation full-record))) |
| 1762 | (insert (concat name ":\n")) | 1762 | (insert (concat name ":\n")) |