summaryrefslogtreecommitdiff
path: root/scheme/racket/geiser/main.rkt
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2015-08-14 21:44:46 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2015-08-14 21:44:46 +0200
commit0f66c250245af1348a3ee5a698c69ec4245e2194 (patch)
tree086b3b0e253195f57c7ebf78ad236c6e579cc735 /scheme/racket/geiser/main.rkt
parentbfb4a8fce5828d15641164b475b830031c6d3335 (diff)
downloadgeiser-chez-0f66c250245af1348a3ee5a698c69ec4245e2194.tar.gz
geiser-chez-0f66c250245af1348a3ee5a698c69ec4245e2194.tar.bz2
Don't try to turn on geiser-mode in non-scheme buffers
xscheme defines its own scheme-interaction-mode that, quite rudely if you ask me, calls not only its hooks, but also scheme-mode's. Among them, turn-on-geiser-mode, causing havoc to users of xscheme's run-scheme function. We, ahem, fix this problem by checking that we're actually in scheme-mode when our hook is called. Thanks to Federico Beffa for his reports.
Diffstat (limited to 'scheme/racket/geiser/main.rkt')
0 files changed, 0 insertions, 0 deletions