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: Wed, 16 Apr 2014 23:51:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> What I think I understand from the documentation is that I should end up with 
> something like:

> ("anchor"
>  (lambda (limit)
>   (let ((case-fold-search t))
>    (re-search-forward "keywords-re") limit t))
>  (pre-form)
>  nil
>  (0 font-lock-keyword-face))

IIRC you need

   ("anchor"
    ((lambda (limit)
      (let ((case-fold-search t))
       (re-search-forward "keywords-re") limit t))
     (pre-form)
     nil
     (0 font-lock-keyword-face)))

-- Stefan


reply via email to

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