1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-03 08:10:31 +02:00

compile-elisp fn

(Best-ability ChangeLog annotation added by Christopher Allan Webber.)

* module/language/elisp/runtime.scm (compile-elisp): New procedure.
This commit is contained in:
Robin Templeton 2014-08-04 23:06:26 -04:00 committed by Christopher Allan Webber
parent 7c1b42e826
commit cd809c8937

View file

@ -52,6 +52,7 @@
set-lexical-binding-mode
log!
eval-elisp
compile-elisp
local-eval-elisp
make-lisp-string
lisp-string?)
@ -248,6 +249,10 @@
(define (eval-elisp form)
(compile form #:from 'elisp #:to 'value))
(define (compile-elisp form)
(compile (compile form #:from 'elisp #:to 'bytecode)
#:from 'bytecode #:to 'value))
(set-symbol-value! nil_ #nil)
(set-symbol-value! t_ #t)