1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00
guile/module/language/elisp/runtime
Brian Templeton c6920dc8ba lexical function binding for elisp
* module/language/elisp/compile-tree-il.scm (access-variable)
  (reference-variable, set-variable!): Handle globally-bound non-special
  variables.

  (bind-lexically?): Create lexical bindings for flet and flet*.

* module/language/elisp/runtime.scm (reference-variable, set-variable!):
  Handle globally-bound non-special variables.

  (built-in-func): Set the variable directly instead of storing the
  function in a fluid.

* module/language/elisp/runtime/subrs.scm (funcall): Call apply
  directly.

* test-suite/tests/elisp-compiler.test ("Function Definitions")["flet
  and flet*"]:

Signed-off-by: Andy Wingo <wingo@pobox.com>
2010-12-07 13:21:03 +01:00
..
function-slot.scm use unbound fluids instead of `void' sentinel value 2010-12-07 13:21:03 +01:00
macros.scm use unbound fluids instead of `void' sentinel value 2010-12-07 13:21:03 +01:00
subrs.scm lexical function binding for elisp 2010-12-07 13:21:03 +01:00
value-slot.scm reformat comments 2010-12-07 13:21:01 +01:00