Subject: bug#40337: 28.0.50; Enable case-fold-search in hi-lock

From: Stefan Monnier <[email-masked]>
Date: Mon, 30 Mar 2020 23:05:00 -0400

> +        (setq-local font-lock-keywords-case-fold-search hi-lock-case-fold-search)

This affects all the font-lock-keywords, so it's likely to mess things
up for the non-hi-lock keywords.

I think we should change the patterns added to `font-lock-keywords`
instead, such that they do

    (let ((case-fold-search hi-lock-case-fold-search)) <...>)

around the corresponding regexp search.

        Stefan