mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-21 12:27:33 +00:00
Make the reverse tabulated list sort stable
* lisp/emacs-lisp/tabulated-list.el (tabulated-list--get-sorter): Make the reverse sorting stable (bug#37174). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
280cf93f31
commit
7c3ef77ccb
1 changed files with 1 additions and 1 deletions
|
|
@ -373,7 +373,7 @@ column. Negate the predicate that would be returned if
|
|||
(if (stringp b) b (car b)))))))
|
||||
;; Reversed order.
|
||||
(if (cdr tabulated-list-sort-key)
|
||||
(lambda (a b) (not (funcall sorter a b)))
|
||||
(lambda (a b) (funcall sorter b a))
|
||||
sorter))))
|
||||
|
||||
(defsubst tabulated-list--col-local-max-widths (col)
|
||||
|
|
|
|||
Loading…
Reference in a new issue