614d66cd92731b8036e3311857f94573c30a78bf
[termux-packages] / packages / emacs / src-xdisp.c.patch
1 See https://lists.gnu.org/archive/html/bug-gnu-emacs/2016-03/msg00679.html
2
3 The other part of that patch is in lisp-loadup.el.patch
4
5 diff -u -r ../emacs-25.0.92/src/xdisp.c ./src/xdisp.c
6 --- ../emacs-25.0.92/src/xdisp.c 2016-03-02 05:21:43.000000000 -0500
7 +++ ./src/xdisp.c 2016-03-25 21:25:36.960819633 -0400
8 @@ -31598,7 +31598,12 @@
9 A value of `grow-only', the default, means let mini-windows grow only;
10 they return to their normal size when the minibuffer is closed, or the
11 echo area becomes empty. */);
12 - Vresize_mini_windows = Qgrow_only;
13 + /* Contrary to the doc string, we initialize this to nil, so that
14 + loading loadup.el won't try to resize windows before loading
15 + window.el, where some functions we need to call for this live.
16 + We assign the 'grow-only' value right after loading window.el
17 + during loadup. */
18 + Vresize_mini_windows = Qnil;
19
20 DEFVAR_LISP ("blink-cursor-alist", Vblink_cursor_alist,
21 doc: /* Alist specifying how to blink the cursor off.