|
From: | Stefan Monnier |
Subject: | Re: Confusion about elisp symbols and defuns |
Date: | Wed, 24 Sep 2014 08:51:28 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
> (defun foo (v) > (makunbound v) > (boundp v)) > foo > (foo 'g) > nil > (foo 'v) > => error signal > How would you change the calc-var-value to avoid this trap? Use lexical-binding. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |