changeset 35422:1f7abd8b98dd

(font-lock-default-fontify-region): Fix last change.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 19 Jan 2001 13:50:52 +0000
parents adba111543f5
children 51caa519be7a
files lisp/font-lock.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/font-lock.el	Fri Jan 19 13:49:43 2001 +0000
+++ b/lisp/font-lock.el	Fri Jan 19 13:50:52 2001 +0000
@@ -1212,10 +1212,10 @@
 			  (point-min)))
 	    (goto-char beg)
 	    (setq beg (line-beginning-position)))
-	  (setq end (or (and font-lock-multiline
-			     (text-property-any end (point-max)
-						'font-lock-multiline nil))
-			(point-max)))
+	  (when font-lock-multiline
+	    (setq end (or (text-property-any end (point-max)
+					     'font-lock-multiline nil)
+			  (point-max))))
 	  (goto-char end)
 	  (setq end (line-beginning-position 2))
 	  ;; Now do the fontification.