> How 'bout the patch below instead?
>
>
>         Stefan
>
>
> --- orig/lisp/font-lock.el
> +++ mod/lisp/font-lock.el
> @@ -1058,7 +1058,8 @@
>                                       'font-lock-multiline nil)
>                    (point-max)))
>      (goto-char end)
> -    (setq end (line-beginning-position 2))
> +          ;; Round up to a whole line.
> +          (unless (bolp) (setq end (line-beginning-position 2)))
>      ;; Now do the fontification.
>      (font-lock-unfontify-region beg end)
>      (when font-lock-syntactic-keywords
>
>

... splendide



_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to