HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
543d9e1
)
compile-elisp fn
author
Robin Templeton
<robin@terpri.org>
Tue, 5 Aug 2014 03:06:26 +0000
(23:06 -0400)
committer
Robin Templeton
<robin@terpri.org>
Fri, 13 Feb 2015 00:18:54 +0000
(19:18 -0500)
module/language/elisp/runtime.scm
patch
|
blob
|
blame
|
history
diff --git
a/module/language/elisp/runtime.scm
b/module/language/elisp/runtime.scm
index
dba2a54
..
d6d4f70
100644
(file)
--- a/
module/language/elisp/runtime.scm
+++ b/
module/language/elisp/runtime.scm
@@
-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)