Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!EDDIE.MIT.EDU!compass!worley From: compass!worley@EDDIE.MIT.EDU (Dale Worley) Newsgroups: gnu.emacs Subject: Fun bug in byte-compile Message-ID: <8907171412.AA08651@galaxy.compass.com> Date: 17 Jul 89 14:12:16 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 23 In Gnu Emacs 18.53, if I try to byte-compile the defun: (defun a () ((lambda (x) 7) y)) I get an error that "(lambda (x) 7) is not a symbol", or some such. Apparently the byte-compile code doesn't realize that the function position of an application may be a lambda-expression! You can work around this by writing instead: (defun a () (funcall (lambda (x) 7) y)) Dale -- Dale Worley, Compass, Inc. worley@compass.com The War on Drugs -- Prohibition for the '80s.