Procedure that tests to see if window needs redisplay must first call
authorChris Hanson <org/chris-hanson/cph>
Fri, 29 Jan 1993 23:05:40 +0000 (23:05 +0000)
committerChris Hanson <org/chris-hanson/cph>
Fri, 29 Jan 1993 23:05:40 +0000 (23:05 +0000)
%NOTICE-WINDOW-CHANGES.  A reply of #T permits the use of direct
output, which is wrong if there are buffer changes that haven't yet
been written to the screen.

v7/src/edwin/bufwiu.scm

index 3848c5ea7c8c142d448df37c0f5eb9297b99bfa4..d6513567d6939082656f96b0b0b4f46bbf1e477d 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;;    $Id: bufwiu.scm,v 1.23 1993/01/12 22:06:34 bal Exp $
+;;;    $Id: bufwiu.scm,v 1.24 1993/01/29 23:05:40 cph Exp $
 ;;;
 ;;;    Copyright (c) 1986, 1989-93 Massachusetts Institute of Technology
 ;;;
 ;;; redisplay.
 
 (define (buffer-window/needs-redisplay? window)
+  (%notice-window-changes! window)
   (or (window-needs-redisplay? window)
       (not (%window-saved-screen window))
       (screen-needs-update? (%window-saved-screen window))))
       (%set-inferior-y-start! (%window-cursor-inferior window) end-y))
     (update-modified-tick! window)
     (set-interrupt-enables! mask)
-    unspecific))
+    unspecific))
\ No newline at end of file