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:
parent
f12492fa98
commit
e322a02bc1
2 changed files with 7 additions and 1 deletions
|
@ -82,7 +82,8 @@
|
|||
funcall
|
||||
throw
|
||||
not
|
||||
eval)
|
||||
eval
|
||||
load)
|
||||
;; macros
|
||||
#:re-export (prog1
|
||||
prog2
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue