aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii2016-03-15 19:46:26 +0200
committerEli Zaretskii2016-03-15 19:46:26 +0200
commit38b276d162197a5ca4bd7322ff8a823c3754edb4 (patch)
tree7caf089a0da2b8b6222e544c0a7a8ce02936e08c /lisp
parentdbfbedd3d0f3afcfb811eae0e1a7b1c33fb27735 (diff)
downloademacs-38b276d162197a5ca4bd7322ff8a823c3754edb4.tar.gz
emacs-38b276d162197a5ca4bd7322ff8a823c3754edb4.zip
Fix startup of "emacs -nw" on systems that CANNOT_DUMP
* src/xdisp.c (syms_of_xdisp) <resize-mini-windows>: Initialize to nil. * lisp/loadup.el <resize-mini-windows>: Set to 'grow-only' after loading window.el. (Bug#22975)
Diffstat (limited to 'lisp')
-rw-r--r--lisp/loadup.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el
index bd47bed3160..21c64a8c3b4 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -117,6 +117,10 @@
117(load "format") 117(load "format")
118(load "bindings") 118(load "bindings")
119(load "window") ; Needed here for `replace-buffer-in-windows'. 119(load "window") ; Needed here for `replace-buffer-in-windows'.
120;; We are now capable of resizing the mini-windows, so give the
121;; variable its advertised default value (it starts as nil, see
122;; xdisp.c).
123(setq resize-mini-windows 'grow-only)
120(setq load-source-file-function 'load-with-code-conversion) 124(setq load-source-file-function 'load-with-code-conversion)
121(load "files") 125(load "files")
122 126