[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1132: quote does not signal error when given 2 or more args
From: |
martin rudalics |
Subject: |
bug#1132: quote does not signal error when given 2 or more args |
Date: |
Thu, 09 Oct 2008 18:09:37 +0200 |
User-agent: |
Thunderbird 2.0.0.16 (Windows/20080708) |
> Summary: perhaps the “quote” special form should signal an error when
> given more than one argument?
It does:
if (!NILP (Fcdr (args)))
xsignal2 (Qwrong_number_of_arguments, Qquote, Flength (args));
Try (quote foo bar) ...
> I was trying to write a mode , working on my font-lock-keywords...
Errors occuring during fontification must not disrupt redisplay so you
won't see them most of the time. That's what probably happened in your
case.
martin