projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dd2abd
)
edwin/buffer: Add print procedure.
author
Matt Birkholz
<matt@birchwood-abbey.net>
Sat, 26 Aug 2017 16:15:48 +0000
(09:15 -0700)
committer
Matt Birkholz
<matt@birchwood-abbey.net>
Mon, 28 Aug 2017 18:28:18 +0000
(11:28 -0700)
src/edwin/buffer.scm
patch
|
blob
|
history
diff --git
a/src/edwin/buffer.scm
b/src/edwin/buffer.scm
index 14ac16a067d8c53cd40f974b2f18a26ccacb56c3..8fa83c5e669fab786990883f21c2a2043d0abe8b 100644
(file)
--- a/
src/edwin/buffer.scm
+++ b/
src/edwin/buffer.scm
@@
-29,7
+29,11
@@
USA.
(declare (usual-integrations))
\f
(define-structure (buffer
- (constructor %make-buffer (%name %default-directory)))
+ (constructor %make-buffer (%name %default-directory))
+ (print-procedure
+ (simple-unparser-method 'BUFFER
+ (lambda (buffer)
+ (list (buffer-name buffer))))))
%name
group
mark-ring