1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 10:11:05 -08:00

(set_window_width): Don't delete root window for being too narrow.

This commit is contained in:
Richard M. Stallman 1994-04-20 07:27:20 +00:00
parent 9c32788e36
commit abdced835c

View 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;