* module/ice-9/boot-9.scm:
* module/ice-9/deprecated.scm (set-repl-prompt!): Deprecate, but wrap
the (system repl common) implementation instead of the scm-style-repl.
(define *unspecified* (if #f #f))
(define (unspecified? v) (eq? v *unspecified*))
-(define (set-repl-prompt! v) (set! scm-repl-prompt v))
-
(define (default-pre-unwind-handler key . args)
;; Narrow by two more frames: this one, and the throw handler.
(save-stack 2)
collect
assert-repl-silence
assert-repl-print-unspecified
- assert-repl-verbosity)
+ assert-repl-verbosity
+ set-repl-prompt!)
#:replace (module-ref-submodule module-define-submodule!))
(issue-deprecation-warning
"`assert-repl-verbosity' has moved to `(ice-9 scm-style-repl)'.")
((@ (ice-9 scm-style-repl) assert-repl-verbosity) v))
+
+(define (set-repl-prompt! v)
+ (issue-deprecation-warning
+ "`set-repl-prompt!' is deprecated. Use `repl-default-prompt-set!' from
+the `(system repl common)' module.")
+ ((@ (system repl common) repl-default-prompt-set!) v))