# HG changeset patch # User Stefan Monnier # Date 1100392632 0 # Node ID cd58496622395cc2c66929ba8952b81c096da60b # Parent 54c649507b740d6ace9c9dfe812eb593cd0bf7cc (font-lock-fontify-syntactically-region): Fix last fix so it doesn't forget to highlight the beginning of the region either. diff -r 54c649507b74 -r cd5849662239 lisp/font-lock.el --- a/lisp/font-lock.el Sat Nov 13 23:29:11 2004 +0000 +++ b/lisp/font-lock.el Sun Nov 14 00:37:12 2004 +0000 @@ -1295,15 +1295,15 @@ ;; Find each interesting place between here and `end'. (while (progn - (setq state (parse-partial-sexp (point) end nil nil state - 'syntax-table)) (when (or (nth 3 state) (nth 4 state)) (setq face (funcall font-lock-syntactic-face-function state)) (setq beg (max (nth 8 state) start)) (setq state (parse-partial-sexp (point) end nil nil state 'syntax-table)) (when face (put-text-property beg (point) 'face face))) - (< (point) end))))) + (< (point) end)) + (setq state (parse-partial-sexp (point) end nil nil state + 'syntax-table))))) ;;; End of Syntactic fontification functions.