* lisp/emacs-lisp/tabulated-list.el: Don't sort without sorter
(tabulated-list-print): Don't sort if sorter is nil
This commit is contained in:
parent
f43306aed9
commit
45c92ddd99
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue