mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 05:50:26 +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
3829919663
commit
9efe5b230d
2 changed files with 7 additions and 1 deletions
|
@ -81,7 +81,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