summaryrefslogtreecommitdiff
path: root/elisp/geiser-mode.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2016-06-12 17:51:28 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2016-06-12 17:51:28 +0200
commitbb990e11cd91956d10d156982d29cec50fee75bf (patch)
tree1326ec1d6a6f3f06a15e381237b628cd91166a96 /elisp/geiser-mode.el
parent48c0cb1f5ceeb12824c9465d0549583e970ab983 (diff)
downloadgeiser-bb990e11cd91956d10d156982d29cec50fee75bf.tar.gz
geiser-bb990e11cd91956d10d156982d29cec50fee75bf.tar.bz2
REPLs not started by the font-lock buffer
This one should fix github's issue #132. There's still the glitch that scheme strings are fontified without taking into account extra keywords.
Diffstat (limited to 'elisp/geiser-mode.el')
-rw-r--r--elisp/geiser-mode.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el
index 640dbcc..5747f40 100644
--- a/elisp/geiser-mode.el
+++ b/elisp/geiser-mode.el
@@ -303,6 +303,7 @@ interacting with the Geiser REPL is at your disposal.
(geiser-syntax--add-kws)
(when (and geiser-mode
geiser-mode-start-repl-p
+ (not (geiser-syntax--font-lock-buffer-p))
(not (geiser-repl--connection*)))
(save-window-excursion (run-geiser geiser-impl--implementation))))