summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources/warn-variable-set-constant.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2021-05-31 16:24:11 +0000
committerAlan Mackenzie <acm@muc.de>2021-05-31 16:24:11 +0000
commit2ee5ce208f212ed658cf2125ef6bc24a435dda50 (patch)
tree964ca4a5906240e7c731595f7fdf90a7cfcb5307 /test/lisp/emacs-lisp/bytecomp-resources/warn-variable-set-constant.el
parent63e9a4b1e1fe99462ec97b2145b91898fa5b4085 (diff)
downloademacs-2ee5ce208f212ed658cf2125ef6bc24a435dda50.tar.gz
emacs-2ee5ce208f212ed658cf2125ef6bc24a435dda50.tar.bz2
emacs-2ee5ce208f212ed658cf2125ef6bc24a435dda50.zip
Make frames record when their selected window was the mini-window
When a frame in this state is selected again by Fselect_frame (but not by Fselect_window), the mini-window rather than the frame's currently selected window, is chosen for selection, should there still be an active minibuffer in it. This fixes bug #48674. * src/frame.h (struct frame): Add new boolean field select_mini_window_flag. * src/frame.c (make_frame): Initialize select_mini_window_flag to false. (do_switch_frame): Set the new flag appropriately for the old frame, and process the new frame's setting of this flag, before setting it to false. * src/window.c (select_window): Set f->select_mini_window_flag to false. (Fset_frame_selected_window, Fdelete_other_windows_internal) (Fdelete_window_internal): Add comments clarifying that there is no clearing of f->select_mini_window_flag in these functions.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-variable-set-constant.el')
0 files changed, 0 insertions, 0 deletions