diff lisp/packages/lazy-lock.el @ 183:e121b013d1f0 r20-3b18

Import from CVS: tag r20-3b18
author cvs
date Mon, 13 Aug 2007 09:54:23 +0200
parents 85ec50267440
children f53b5ca2e663
line wrap: on
line diff
--- a/lisp/packages/lazy-lock.el	Mon Aug 13 09:53:23 2007 +0200
+++ b/lisp/packages/lazy-lock.el	Mon Aug 13 09:54:23 2007 +0200
@@ -736,7 +736,7 @@
 	(we (if lazy-lock-hide-invisible
 		(save-excursion
 		  (end-of-line) (forward-line (window-height)) (point))
-	      (min (max (1- (window-end)) (point-min)) (point-max)))))
+	      (min (max (1- (window-end nil t)) (point-min)) (point-max)))))
     (if (or (/= ws lazy-lock-cache-start) (/= we lazy-lock-cache-end))
 	;; Find where we haven't `fontified' before.
 	(let* ((start (or (text-property-not-all ws we 'fontified t) ws))