emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] some reworking of struct window


From: Stefan Monnier
Subject: Re: [RFC] some reworking of struct window
Date: Thu, 21 Mar 2013 19:50:05 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>> +enum window_type
>> +  {
>> +    WINDOW_LEAF,
>> +    WINDOW_HORIZONTAL_COMBINATION,
>> +    WINDOW_VERTICAL_COMBINATION,
>> +  };
> The test BUFFERP (w->object) already gives you the same info as
> WINDOW_LEAF type, no?

Right, we could probably replace window_type by a boolean, used only for
the "child is a window" case and indicating whether the split is
vertical or horizontal.


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]