[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 45c92dd: * lisp/emacs-lisp/tabulated-list.el: Don't
From: |
Artur Malabarba |
Subject: |
[Emacs-diffs] master 45c92dd: * lisp/emacs-lisp/tabulated-list.el: Don't sort without sorter |
Date: |
Tue, 26 May 2015 08:33:08 +0000 |
branch: master
commit 45c92ddd99f5d3ceb520f9a27678bbedde83589b
Author: Artur Malabarba <address@hidden>
Commit: Artur Malabarba <address@hidden>
* lisp/emacs-lisp/tabulated-list.el: Don't sort without sorter
(tabulated-list-print): Don't sort if sorter is nil
---
lisp/emacs-lisp/tabulated-list.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lisp/emacs-lisp/tabulated-list.el
b/lisp/emacs-lisp/tabulated-list.el
index 58b8fd6..fb3045d 100644
--- a/lisp/emacs-lisp/tabulated-list.el
+++ b/lisp/emacs-lisp/tabulated-list.el
@@ -327,7 +327,8 @@ changing `tabulated-list-sort-key'."
(setq entry-id (tabulated-list-get-id))
(setq saved-col (current-column)))
;; Sort the entries, if necessary.
- (setq entries (sort entries sorter))
+ (when sorter
+ (setq entries (sort entries sorter)))
(unless (functionp tabulated-list-entries)
(setq tabulated-list-entries entries))
;; Without a sorter, we have no way to just update.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 45c92dd: * lisp/emacs-lisp/tabulated-list.el: Don't sort without sorter,
Artur Malabarba <=