emacs-devel
[Top][All Lists]
Advanced

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

Re: Function: window-fringes


From: Kim F. Storm
Subject: Re: Function: window-fringes
Date: Tue, 15 Aug 2006 22:40:27 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Nick Roberts <address@hidden> writes:

>        Lisp_Object window;
>   {
>     struct window *w = decode_window (window);
> !   if (EQ (Vwindow_system, Qnil))

Isn't this better?
      
      if (!FRAME_WINDOW_P (WINDOW_XFRAME (w))) 


> !     return Fcons (make_number (0), (Fcons (make_number (0),
> !                                        (Fcons (Qnil, Qnil)))));
> !   else    
> !     return Fcons (make_number (WINDOW_LEFT_FRINGE_WIDTH (w)),
> !               Fcons (make_number (WINDOW_RIGHT_FRINGE_WIDTH (w)),
> !                      Fcons ((WINDOW_HAS_FRINGES_OUTSIDE_MARGINS (w) ?
> !                              Qt : Qnil), Qnil)));
>   }
>   
>   
>
>

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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