2001-01-19 Gerd Moellmann <gerd@gnu.org>
+ * font-lock.el (font-lock-default-fontify-region): Fix last
+ change.
+
* font-lock.el (font-lock-multiline): Default to nil.
(font-lock-default-fontify-region): If font-lock-multiline is
nil, don't check the property `font-lock-multiline'.
(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.