|
From: | Kevin Rodgers |
Subject: | Re: problem understanding font-lock-defaults structure |
Date: | Wed, 08 Oct 2008 20:25:54 -0600 |
User-agent: | Thunderbird 2.0.0.17 (Macintosh/20080914) |
Lennart Borgman (gmail) wrote:
Xah wrote:
...
(setq myKeywordsLevel1 (quote ("Sin\\|Cos" . font-lock-function-name-face) ("π\\|∞" . font-lock-constant-face) ("x\\|y" . font-lock-variable-name-face) ) )Could it be that the `quote' just takes one argument?
Indeed. Is it a bug that quote does not signal "Wrong number of arguments"? I know that special forms do not necessarily evaluate their arguments, but neither do macros and eval/apply manages to make sure that the number of supplied arguments conforms to a macro's argument list. -- Kevin Rodgers Denver, Colorado, USA
[Prev in Thread] | Current Thread | [Next in Thread] |