[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock "=
From: |
Lennart Borgman |
Subject: |
Re: font-lock "= |
Date: |
Thu, 6 May 2010 23:09:15 +0200 |
On Thu, May 6, 2010 at 10:23 PM, Roger Mason <rmason@mun.ca> wrote:
> Hello,
>
> I'm trying to write a major mode for amrita. My mode is derived from
> fundamental-mode.
>
> One of the operators in the language is "=. That is, quotation marks
> followed by the equals sign. This is currently higlighted as a string
> that continues up to the next occurrence of ". I'd like to turn off
> this behaviour and have the character pair "= not highlighted, or
> highlighted in some other face.
>
> Can someone suggest how to accomplish this?
I do not know how to do it, but maybe you can use the text property
syntax-table on the " in "=.