I'm trying to conditionally chose which code to run in the .edwin file at startup. This is because some commands like (ref-command set-foreground-color) cause problems if 'scheme -edit' is started outside of X windows.
Does anyone know how to accomplish this? Is there a function which returns whether Edwin is started in X or not? Thanks