show-browser command now just switches to an existing browser instead of pointing it at the documentation front page
parent
c28370d356
commit
dfb55736c5
|
@ -86,7 +86,9 @@ M: browser-gadget focusable-child* search-field>> ;
|
||||||
[ [ raise-window ] [ gadget-child show-help ] bi ]
|
[ [ raise-window ] [ gadget-child show-help ] bi ]
|
||||||
[ (browser-window) ] if* ;
|
[ (browser-window) ] if* ;
|
||||||
|
|
||||||
: show-browser ( -- ) "handbook" com-browse ;
|
: show-browser ( -- )
|
||||||
|
[ browser-gadget? ] find-window
|
||||||
|
[ raise-window ] [ browser-window ] if* ;
|
||||||
|
|
||||||
\ show-browser H{ { +nullary+ t } } define-command
|
\ show-browser H{ { +nullary+ t } } define-command
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue