]> git.eshelyaron.com Git - emacs.git/commitdiff
Tweak how ibuffer-invert-sorting updates the buffer
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 4 Feb 2021 11:26:00 +0000 (12:26 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 4 Feb 2021 11:26:00 +0000 (12:26 +0100)
* lisp/ibuf-ext.el (ibuffer-invert-sorting): Enable calling this
function repeatedly with more predictable results (bug#30129).

lisp/ibuf-ext.el

index 44574abd46abd98167fa9244463a0c7d49caebff..d3d2b324c14226c8b90d3232a6cffc1928411e2a 100644 (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