emacs-devel
[Top][All Lists]
Advanced

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

Re: 24.3.50; Use of deprecated ((lambda ...) ...) form


From: Barry OReilly
Subject: Re: 24.3.50; Use of deprecated ((lambda ...) ...) form
Date: Fri, 9 Nov 2012 19:05:57 -0500

>> > why is ((lambda...)...) deprecated?

Is it because of this kind of inconsistency?

(funcall (lambda () (message "hi")))         ; Prints "hi"
(funcall (progn (lambda () (message "hi")))) ; Prints "hi"

((lambda () (message "hi")))                 ; Prints "hi"
((progn (lambda () (message "hi"))))         ; Lisp error: (invalid-function (progn (lambda nil (message "hi"))))

One would hope either that the last two both work or both not work.


reply via email to

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