From: Matt Birkholz Date: Sat, 26 Aug 2017 16:15:48 +0000 (-0700) Subject: edwin/buffer: Add print procedure. X-Git-Tag: mit-scheme-pucked-9.2.12~82 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=24eb8cca5c998d8e04cf1c386bd0261b0ca8b5b8;p=mit-scheme.git edwin/buffer: Add print procedure. --- diff --git a/src/edwin/buffer.scm b/src/edwin/buffer.scm index 14ac16a06..8fa83c5e6 100644 --- a/src/edwin/buffer.scm +++ b/src/edwin/buffer.scm @@ -29,7 +29,11 @@ USA. (declare (usual-integrations)) (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