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:
parent
9c32788e36
commit
abdced835c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue