1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-18 18:40:22 +02:00

new `load' subr

* module/language/elisp/runtime/subrs.scm: Define new subr `load'.
* module/language/elisp/runtime/function-slot.scm: Re-export `load'.
This commit is contained in:
Brian Templeton 2010-06-29 21:18:05 -04:00
parent f12492fa98
commit e322a02bc1
2 changed files with 7 additions and 1 deletions

View file

@ -82,7 +82,8 @@
funcall
throw
not
eval)
eval
load)
;; macros
#:re-export (prog1
prog2

View file

@ -354,3 +354,8 @@
(built-in-func eval
(lambda (form)
(compile form #:from 'elisp #:to 'value)))
(built-in-func load
(lambda* (file)
(compile-file file #:from 'elisp #:to 'value)
#t))