]> git.eshelyaron.com Git - emacs.git/commitdiff
(set_window_width): Don't delete root window for being too narrow.
authorRichard M. Stallman <rms@gnu.org>
Wed, 20 Apr 1994 07:27:20 +0000 (07:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 20 Apr 1994 07:27:20 +0000 (07:27 +0000)
src/window.c

index 9515c1ca082c9f1364150e985fc586ab993bb867..19d2cc54172efa15125361f1f39ca797b7d2c610 100644 (file)
@@ -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;