[Top][All Lists]
[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
- Function: window-fringes, Nick Roberts, 2006/08/14
- Re: Function: window-fringes, Kim F. Storm, 2006/08/15
- Re: Function: window-fringes, Nick Roberts, 2006/08/15
- Re: Function: window-fringes, Richard Stallman, 2006/08/15
- Re: Function: window-fringes, Nick Roberts, 2006/08/15
- Re: Function: window-fringes, Richard Stallman, 2006/08/16
- Re: Function: window-fringes, Nick Roberts, 2006/08/16
- Re: Function: window-fringes, Richard Stallman, 2006/08/17
- Re: Function: window-fringes,
Kim F. Storm <=
Re: Function: window-fringes, Chong Yidong, 2006/08/15