.
original commit: f24911554ea76b4221eb0aab49a2c9a084465c7c
This commit is contained in:
parent
ae621ddd83
commit
426582117c
|
@ -6,9 +6,12 @@
|
||||||
|
|
||||||
(provide send-url)
|
(provide send-url)
|
||||||
|
|
||||||
|
(define separate-by-default?
|
||||||
|
(get-preference 'new-browser-for-urls (lambda () #t)))
|
||||||
|
|
||||||
; send-url : str -> void
|
; send-url : str -> void
|
||||||
(define send-url
|
(define send-url
|
||||||
(opt-lambda (str [separate-window? #t])
|
(opt-lambda (str [separate-window? separate-by-default?])
|
||||||
(parameterize ([current-input-port null-input]
|
(parameterize ([current-input-port null-input]
|
||||||
[current-error-port null-output] ; comment out this line to see error messages
|
[current-error-port null-output] ; comment out this line to see error messages
|
||||||
[current-output-port null-output])
|
[current-output-port null-output])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user