mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-19 03:00:25 +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
|
funcall
|
||||||
throw
|
throw
|
||||||
not
|
not
|
||||||
eval)
|
eval
|
||||||
|
load)
|
||||||
;; macros
|
;; macros
|
||||||
#:re-export (prog1
|
#:re-export (prog1
|
||||||
prog2
|
prog2
|
||||||
|
|
|
@ -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))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue