[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(quote a b) discards argument
From: |
Michael Schierl |
Subject: |
(quote a b) discards argument |
Date: |
Sun, 19 Aug 2007 00:27:36 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.0 |
Hello,
I don't know if this is a bug or a documentation bug. If I evaluate
(quote a b) this results in 'a and does not throw an error. Usually you
do not use the quote function anyway (since writing ' is more
convenient) but when editing code that was written out by `print', it
happened to me that I accidentally removed one paren too much...
C-h f quote tells:
----8<----
quote is a special form in `C source code'.
(quote arg)
Return the argument, without evaluating it. `(quote x)' yields `x'.
---->8----
So I expected it to have thrown an error if two or more arguments are
specified, otherwise the documentation should be something like
----8<----
quote is a special form in `C source code'.
(quote arg &rest ignore)
Return the argument, without evaluating it. `(quote x)' yields `x'.
Additional arguments are ignored, if present.
---->8----
Michael
In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
of 2007-06-02 on RELEASE
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'
- (quote a b) discards argument,
Michael Schierl <=