[Top][All Lists]

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

Re: Differing string delimiters for font-lock

From: Stefan Monnier
Subject: Re: Differing string delimiters for font-lock
Date: Fri, 15 Feb 2013 09:44:12 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> I think I've answered my question -- at least it appears to work.  I've
> stopped using define-generic-mode.  Anyway, what I was looking for is:
> (font-lock-add-keywords nil
>   '(("“[^”]*”" 0 font-lock-string-face)))

BTW, please do yourself a favor and use define-derived-mode rather than
If you need help, just post your define-generic-mode and we'll translate
it to define-derived-mode for you.


reply via email to

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