[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Syntax highlighting keywords starting with #
From: |
frodetj |
Subject: |
Re: Syntax highlighting keywords starting with # |
Date: |
3 Nov 2005 11:55:12 -0800 |
User-agent: |
G2/0.2 |
I believe the following code does the trick?
(defun psc-mode ()
(set (make-local-variable 'font-lock-defaults)
'(psc-font-lock-keywords)))
It was actually working to remove the \\<. But it would be rather neat
have it, so that
#PROCESS
is highlighted, and
CRAP#PROCESS
is not.
I'm not able to make this work for the #, but for other characters it's
working fine.
Any advice?