|
From: | Stefan Monnier |
Subject: | Re: font-lock and regexp-opt |
Date: | Sun, 11 Sep 2005 17:54:23 -0400 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> (defconst inducks-keywords > (regexp-opt '(...) t) "inducks fields to colorize") > (defconst inducks-font-heroes > (list > (cons > (concat "\\<\\(" inducks-keywords "\\)\\>") > 'inducks-keyword))) > Is this a good way to do it ? Looks OK to me. > It doesn't compile. Care to give us more info as to *how* it fails to compile? Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |