From abdced835c1e53a3c790da04e42d07264d2bd100 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 20 Apr 1994 07:27:20 +0000 Subject: [PATCH] (set_window_width): Don't delete root window for being too narrow. --- src/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5