help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selective Font Lock Case Sensitivity


From: Stefan Monnier
Subject: Re: Selective Font Lock Case Sensitivity
Date: Sun, 13 Apr 2014 21:57:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> I'd like more granular control. Is there a way to specify case
> (in)sensitivity for only some font lock entries or do I need to manually
> achieve this by altering my regex's?

You can use

            (lambda (limit)
              (let ((case-fold-search t))
                (re-search-forward RE limit t)))

instead of RE.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]