elisp function subrs
authorBT Templeton <bpt@hcoop.net>
Mon, 25 Jul 2011 17:21:55 +0000 (13:21 -0400)
committerBT Templeton <bpt@hcoop.net>
Fri, 3 Feb 2012 23:53:49 +0000 (18:53 -0500)
commitb05ca4abb95b9b9bc4df804806f6ad95da881755
tree49e5a8ba61e4475e0937e314391fc7c2382f3e7b
parent35724ee1dc5b48aa80b437950444cbe40c8e350e
elisp function subrs

* module/language/elisp/boot.el (null, consp, listp, car, cdr)
  (make-symbol, signal): Use `%funcall' instead of `funcall' or `fset'.
  (symbolp, symbol-function, eval): Use `%funcall', since `funcall' now
  calls these functions.

  (functionp, %indirect-function): New functions.
  (funcall): Define in terms of `%funcall' and `%indirect-function'.
  (apply): New function. Previously defined in
  "module/language/elisp/runtime/subrs.scm".

  (fset): If `definition' is not a function, set the function cell of
  `symbol' to an falias for `definition'.

* module/language/elisp/falias.scm: New file.

* module/language/elisp/subrs.scm: Remove file.
  (apply): Remove. Now defined in "boot.el".
* module/language/elisp/runtime/function-slot.scm: Update module
  definition.

* module/Makefile.am: Update.
module/Makefile.am
module/language/elisp/boot.el
module/language/elisp/compile-tree-il.scm
module/language/elisp/falias.scm [new file with mode: 0644]
module/language/elisp/runtime/function-slot.scm
module/language/elisp/runtime/subrs.scm [deleted file]