[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40337: 28.0.50; Enable case-fold-search in hi-lock
From: |
Stefan Monnier |
Subject: |
bug#40337: 28.0.50; Enable case-fold-search in hi-lock |
Date: |
Mon, 30 Mar 2020 23:05:00 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> + (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