[gnu.emacs] Fun bug in byte-compile

worley@EDDIE.MIT.EDU (Dale Worley) (07/17/89)

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.