mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-27 23:40:24 +02:00
* boot-9.scm (inherit-print-state): Moved definition to the
neighborhood of the record code.
This commit is contained in:
parent
43085eebce
commit
cf8f1a90f9
1 changed files with 6 additions and 6 deletions
|
@ -321,6 +321,12 @@
|
|||
;;
|
||||
;; It should print OBJECT to PORT.
|
||||
|
||||
(define (inherit-print-state old-port new-port)
|
||||
(if (pair? old-port)
|
||||
(cons (if (pair? new-port) (car new-port) new-port)
|
||||
(cdr old-port))
|
||||
new-port))
|
||||
|
||||
;; 0: type-name, 1: fields
|
||||
(define record-type-vtable
|
||||
(make-vtable-vtable "prpr" 0
|
||||
|
@ -2852,9 +2858,3 @@
|
|||
(define-module (guile))
|
||||
|
||||
(append! %load-path (cons "." ()))
|
||||
|
||||
(define (inherit-print-state old-port new-port)
|
||||
(if (pair? old-port)
|
||||
(cons (if (pair? new-port) (car new-port) new-port)
|
||||
(cdr old-port))
|
||||
new-port))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue