]> git.eshelyaron.com Git - emacs.git/commit
* src/xdisp.c (syms_of_xdisp): New var `redisplay_skip_initial_frame`.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 5 Oct 2020 02:50:38 +0000 (22:50 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 5 Oct 2020 02:50:38 +0000 (22:50 -0400)
commit14a5db2912d9e4e802c1eeddfb3e551f9fb8f753
treee22e5a26244e060a680e4f3bd1fa5de0801f6e81
parent5ec21155c39aab8a452d190a260e6912d1d9a920
* src/xdisp.c (syms_of_xdisp): New var `redisplay_skip_initial_frame`.

This makes it possible to run most of the redisplay code (tho not the
actual drawing since there's nowhere to draw) even when there's no
real frame at hand, as is the case in batch mode.
This makes `xdisp-tests--minibuffer-resizing` work even in batch.

(redisplay_internal): Obey it.
(init_xdisp): Set `echo_area_window` even in noninteractive mode.
* src/dispnew.c (update_frame): Skip the initial frame.
* src/frame.c (make_frame): Use 80x25 as the default initial size.

* test/src/xdisp-tests.el (xdisp-tests--minibuffer-resizing):
Use the new var and fix use of `executing-kbd-macro`.
etc/NEWS
src/dispnew.c
src/frame.c
src/xdisp.c
test/src/xdisp-tests.el