emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 90c03ffcd4b: After minibuffer action, don't make the minibuffer


From: Alan Mackenzie
Subject: emacs-29 90c03ffcd4b: After minibuffer action, don't make the minibuffer current
Date: Sat, 17 Jun 2023 12:15:45 -0400 (EDT)

branch: emacs-29
commit 90c03ffcd4b3744ae149dcede9179b0cbf9d7547
Author: Alan Mackenzie <acm@muc.de>
Commit: Alan Mackenzie <acm@muc.de>

    After minibuffer action, don't make the minibuffer current
    
    This fixes bug#63967.
    
    * src/minibuf.c (minibuffer_unwind): After restoring the next
    minibuffer outwards to the mini window (when
    enable-recursive-minibuffers is non-nil), don't call
    Fset_frame_selected_window, which used to set the current
    window to be the mini window.
---
 src/minibuf.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/minibuf.c b/src/minibuf.c
index d5f95968ae1..bcb7eb9375d 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1266,9 +1266,6 @@ minibuffer_unwind (void)
          set_window_buffer (window, Fcar (entry), 0, 0);
          Fset_window_start (window, Fcar (Fcdr (entry)), Qnil);
          Fset_window_point (window, Fcar (Fcdr (Fcdr (entry))));
-         /* set-window-configuration may/will have unselected the
-            mini-window as the selected window.  Restore it. */
-         Fset_frame_selected_window (exp_MB_frame, window, Qnil);
        }
       else
        set_window_buffer (window, nth_minibuffer (0), 0, 0);



reply via email to

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