emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/xdisp.c


From: Kim F . Storm
Subject: [Emacs-diffs] Changes to emacs/src/xdisp.c
Date: Sat, 22 Jan 2005 18:55:02 -0500

Index: emacs/src/xdisp.c
diff -c emacs/src/xdisp.c:1.967 emacs/src/xdisp.c:1.968
*** emacs/src/xdisp.c:1.967     Sat Jan 22 01:41:36 2005
--- emacs/src/xdisp.c   Sat Jan 22 23:55:00 2005
***************
*** 1256,1271 ****
  {
    struct it it;
    struct text_pos top;
!   int visible_p;
    struct buffer *old_buffer = NULL;
  
    if (XBUFFER (w->buffer) != current_buffer)
      {
        old_buffer = current_buffer;
        set_buffer_internal_1 (XBUFFER (w->buffer));
      }
  
-   visible_p = 0;
    SET_TEXT_POS_FROM_MARKER (top, w->start);
  
    /* Compute exact mode line heights, if requested.  */
--- 1256,1273 ----
  {
    struct it it;
    struct text_pos top;
!   int visible_p = 0;
    struct buffer *old_buffer = NULL;
  
+   if (noninteractive)
+     return visible_p;
+ 
    if (XBUFFER (w->buffer) != current_buffer)
      {
        old_buffer = current_buffer;
        set_buffer_internal_1 (XBUFFER (w->buffer));
      }
  
    SET_TEXT_POS_FROM_MARKER (top, w->start);
  
    /* Compute exact mode line heights, if requested.  */




reply via email to

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