From: Richard M. Stallman Date: Wed, 20 Apr 1994 07:27:20 +0000 (+0000) Subject: (set_window_width): Don't delete root window for being too narrow. X-Git-Tag: emacs-19.34~8871 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=abdced835c1e53a3c790da04e42d07264d2bd100;p=emacs.git (set_window_width): Don't delete root window for being too narrow. --- diff --git a/src/window.c b/src/window.c index 9515c1ca082..19d2cc54172 100644 --- a/src/window.c +++ b/src/window.c @@ -1534,7 +1534,7 @@ set_window_width (window, width, nodelete) int left, pos, lastright, opos, lastoright; Lisp_Object child; - if (!nodelete && width < window_min_width) + if (!nodelete && width < window_min_width && !NILP (w->parent)) { Fdelete_window (window); return;