Tweak how ibuffer-invert-sorting updates the buffer

* lisp/ibuf-ext.el (ibuffer-invert-sorting): Enable calling this
function repeatedly with more predictable results (bug#30129).
This commit is contained in:
Lars Ingebrigtsen 2021-02-04 12:26:00 +01:00
parent b12d22f6af
commit b8b3263eab

View file

@ -1446,7 +1446,7 @@ Default sorting modes are:
(if ibuffer-sorting-reversep
"reversed"
"normal"))
(ibuffer-redisplay t))
(ibuffer-update nil t))
;;;###autoload (autoload 'ibuffer-do-sort-by-major-mode "ibuf-ext")
(define-ibuffer-sorter major-mode