[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(apply 'or nil) doesn't work!

From: Martin Schwenke
Subject: (apply 'or nil) doesn't work!
Date: Fri, 20 Oct 2000 12:00:58 +1100 (EST)

In GNU Emacs 20.7.2 (i386-debian-linux-gnu, X toolkit)
 of Wed Jun 21 2000 on raven
configured using `configure  i386-debian-linux-gnu --prefix=/usr 
--sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib 
--infodir=/usr/share/info --with-pop=yes --with-x=yes --with-x-toolkit=yes'

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I'm sitting in the *ielm* buffer and I get this:

ELISP> (apply 'or nil)
*** Eval error ***  Invalid function: #<subr or>


ELISP> (apply '+ nil)

Now, both or and + are documented as built-in functions, so why does
the behaviour differ when used with eval?

By the way, I can work around this by doing

ELISP> (eval (cons 'or nil))

For the curious, I'm not really interested in the nil list.  It is
just the simplest list that shows the bug.

peace & happiness,

Martin Schwenke,  Technical Support Engineer,  Linuxcare, Inc.
+61 2 6262 8990
address@hidden,  http://linuxcare.com.au/
Linuxcare.  Support for the revolution.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]