emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/dispextern.h


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/src/dispextern.h
Date: Fri, 18 Jan 2002 13:25:52 -0500

Index: emacs/src/dispextern.h
diff -c emacs/src/dispextern.h:1.120 emacs/src/dispextern.h:1.121
*** emacs/src/dispextern.h:1.120        Mon Jan 14 09:27:34 2002
--- emacs/src/dispextern.h      Fri Jan 18 13:25:52 2002
***************
*** 1112,1131 ****
  /* Value is non-zero if window W wants a mode line.  */
  
  #define WINDOW_WANTS_MODELINE_P(W)                                    \
!      (!MINI_WINDOW_P (W)                                              \
        && !(W)->pseudo_window_p                                                
\
!       && FRAME_WANTS_MODELINE_P (XFRAME (WINDOW_FRAME (W)))           \
        && BUFFERP ((W)->buffer)                                                
\
!       && !NILP (XBUFFER ((W)->buffer)->mode_line_format))
  
  /* Value is non-zero if window W wants a header line.  */
  
  #define WINDOW_WANTS_HEADER_LINE_P(W)                                 \
!      (!MINI_WINDOW_P (W)                                              \
        && !(W)->pseudo_window_p                                                
\
!       && FRAME_WANTS_MODELINE_P (XFRAME (WINDOW_FRAME (W)))           \
        && BUFFERP ((W)->buffer)                                                
\
!       && !NILP (XBUFFER ((W)->buffer)->header_line_format))
  
       
  /***********************************************************************
--- 1112,1133 ----
  /* Value is non-zero if window W wants a mode line.  */
  
  #define WINDOW_WANTS_MODELINE_P(W)                                    \
!      (!MINI_WINDOW_P ((W))                                            \
        && !(W)->pseudo_window_p                                                
\
!       && FRAME_WANTS_MODELINE_P (XFRAME (WINDOW_FRAME ((W))))         \
        && BUFFERP ((W)->buffer)                                                
\
!       && !NILP (XBUFFER ((W)->buffer)->mode_line_format)              \
!       && (W)->height > 1)
  
  /* Value is non-zero if window W wants a header line.  */
  
  #define WINDOW_WANTS_HEADER_LINE_P(W)                                 \
!      (!MINI_WINDOW_P ((W))                                            \
        && !(W)->pseudo_window_p                                                
\
!       && FRAME_WANTS_MODELINE_P (XFRAME (WINDOW_FRAME ((W))))         \
        && BUFFERP ((W)->buffer)                                                
\
!       && !NILP (XBUFFER ((W)->buffer)->header_line_format)            \
!       && (W)->height > 1 + !NILP (XBUFFER ((W)->buffer)->mode_line_format))
  
       
  /***********************************************************************



reply via email to

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