Subject: bug#23272: 25.0.92; syntax-propertize-via-font-lock considered harmful

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 30 Oct 2019 16:56:54 +0100

Dmitry Gutov <[email-masked]> writes:

> It makes it impossible to call syntax-propertize without enabling
> font-lock-mode first, e.g. when delay-mode-hooks is used.
>
> Example:
>
> (with-temp-buffer
>   (insert "-- -*- mode: ada -*-")
>   (delay-mode-hooks
>     (set-auto-mode))
>   (syntax-propertize (point)))
>
> => (error "Font-lock trying to use keywords before setting them up")

I'm unable to reproduce this bug on the current trunk.  Has this been
fixed in the three years since it was reported?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no