]> git.eshelyaron.com Git - emacs.git/commit
Minimise the time Vminibuffer_list is in an inconsistent state (src/minibuf.c)
authorAlan Mackenzie <acm@muc.de>
Sun, 31 Jan 2021 17:24:23 +0000 (17:24 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 31 Jan 2021 17:24:23 +0000 (17:24 +0000)
commit427d4b3c69f9d2fd8473189564dc1e96b27937ff
tree1d4fd7cbb5b3e14f983e91fec517cf9a82736a72
parent4b2203a07ebca62a012e0509ddd62451cb15a914
Minimise the time Vminibuffer_list is in an inconsistent state (src/minibuf.c)

src/minibuf.c (get_minibuffer): Move the XSETCAR which writes the new
minibuffer into Vminibuffer_list to immediately after the MB's creation, so
that the list is in a consistent state before calling fundamental-mode or
minibuffer-inactive-mode.
src/minibuf.c