From b8b3263eab688b97530a7bf7d565b084df56ea08 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 4 Feb 2021 12:26:00 +0100 Subject: [PATCH] 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). --- lisp/ibuf-ext.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el index 44574abd46a..d3d2b324c14 100644 --- a/lisp/ibuf-ext.el +++ b/lisp/ibuf-ext.el @@ -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 -- 2.39.2