1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 22:10:21 +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 committed by Andy Wingo
parent 3829919663
commit 9efe5b230d
2 changed files with 7 additions and 1 deletions

View file

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

View file

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