emacs-devel
[Top][All Lists]
Advanced

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

Re: Proposal: 'struct window' cleanup


From: Davis Herring
Subject: Re: Proposal: 'struct window' cleanup
Date: Mon, 21 May 2012 08:37:42 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110717 Lanikai/3.1.11

> @@ -3097,14 +3096,14 @@
>      {
>        if (!EQ (tem, buffer))
>       {
> -       if (EQ (w->dedicated, Qt))
> +       if (w->dedicated_p)
>           /* WINDOW is strongly dedicated to its buffer, signal an
>              error.  */
>           error ("Window is dedicated to `%s'", SDATA (BVAR (XBUFFER (tem), 
> name)));
>         else
>           /* WINDOW is weakly dedicated to its buffer, reset
>              dedication.  */
> -         w->dedicated = Qnil;
> +         w->dedicated_p = 0;
>  
>         call1 (Qrecord_window_buffer, window);

w->dedicated is not merely a boolean, as seen here; it can be set other
than to t.

> @@ -206,11 +191,6 @@
>         no scroll bar.  A value of t means use frame value.  */
>      Lisp_Object vertical_scroll_bar_type;
>  
> -    /* Frame coords of mark as of last time display completed */
> -    /* May be nil if mark does not exist or was not on frame */
> -    Lisp_Object last_mark_x;
> -    Lisp_Object last_mark_y;
> -
>      /* Z - the buffer position of the last glyph in the current matrix
>         of W.  Only valid if WINDOW_END_VALID is not nil.  */
>      Lisp_Object window_end_pos;

I guess these weren't used at all?  They were never booleans.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.



reply via email to

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