comp.emacs
[Top] [All Lists]

Re: Is lexical closure of elisp weeker than in clisp?

Subject: Re: Is lexical closure of elisp weeker than in clisp?
From: Joost Kremers
Date: 8 Aug 2008 16:33:15 GMT
Newsgroups: comp.emacs

Daneel Yaitskov wrote:
> The snippet of the lisp code:
>
> (defun create-counter (start)
>   #'(lambda () (setq start (+ start 1))))
>
> It works in the common lisp but not in the emacs lisp.

(info "(elisp)Extent")


-- 
Joost Kremers                                      joostkremers@xxxxxxxxx
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy