From: Lars Ingebrigtsen Date: Thu, 4 Feb 2021 11:26:00 +0000 (+0100) Subject: Tweak how ibuffer-invert-sorting updates the buffer X-Git-Tag: emacs-28.0.90~3942 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b8b3263eab688b97530a7bf7d565b084df56ea08;p=emacs.git 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). --- 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