mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-05 06:50:21 +02:00
* boot-9.scm (inherit-print-state): New experimental function.
This commit is contained in:
parent
cd721def20
commit
ae335672cb
1 changed files with 5 additions and 0 deletions
|
@ -2891,3 +2891,8 @@
|
||||||
(define-module (guile))
|
(define-module (guile))
|
||||||
|
|
||||||
(append! %load-path (cons "." ()))
|
(append! %load-path (cons "." ()))
|
||||||
|
|
||||||
|
(define (inherit-print-state old-port new-port)
|
||||||
|
(if (pair? old-port)
|
||||||
|
(cons new-port (cdr old-port))
|
||||||
|
new-port))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue