HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
66be42c
)
elisp I/O
author
BT Templeton
<bpt@hcoop.net>
Sun, 14 Aug 2011 21:36:38 +0000
(17:36 -0400)
committer
BT Templeton
<bpt@hcoop.net>
Fri, 3 Feb 2012 23:53:50 +0000
(18:53 -0500)
* module/language/elisp/boot.el (princ, print, terpri, format*): New
functions.
module/language/elisp/boot.el
patch
|
blob
|
blame
|
history
diff --git
a/module/language/elisp/boot.el
b/module/language/elisp/boot.el
index
db3267c
..
bec32b5
100644
(file)
--- a/
module/language/elisp/boot.el
+++ b/
module/language/elisp/boot.el
@@
-479,3
+479,17
@@
(defun throw (tag value)
(signal (if %catch 'throw 'no-catch) (list tag value)))
+
+;;; I/O
+
+(defun princ (object)
+ (funcall (@ (guile) display) object))
+
+(defun print (object)
+ (funcall (@ (guile) write) object))
+
+(defun terpri ()
+ (funcall (@ (guile) newline)))
+
+(defun format* (stream string &rest args)
+ (apply (@ (guile) format) stream string args))