bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48249: 28.0.50; Regression: emacs confused about window configuratio


From: Gregory Heytings
Subject: bug#48249: 28.0.50; Regression: emacs confused about window configuration due to ido-mode and/or winner-mode
Date: Fri, 07 May 2021 12:02:14 +0000



diff --git a/lisp/winner.el b/lisp/winner.el
index f30fa6cf5c..a60ef44662 100644
--- a/lisp/winner.el
+++ b/lisp/winner.el
@@ -212,7 +212,7 @@ winner-set-conf
         (minisize (window-height miniwin)))
    (cl-letf (((window-buffer miniwin))
              ((window-point  miniwin)))
-      (set-window-configuration winconf))
+      (set-window-configuration winconf nil t))
    (cond
     ((window-live-p chosen) (select-window chosen))
     ((window-minibuffer-p) (other-window 1)))


This cannot be the right way to fix the bug. That line was last changed more than 20 years ago (commit 2a92dc2540 by RMS).

Or does that mean that from now on each occurrence of 'set-window-configuration' (there are 98 occurrences in the Emacs core only) should take an additional dont-set-miniwindow t argument to avoid that bug?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]