summaryrefslogtreecommitdiff
path: root/elisp/geiser-mode.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2016-06-12 18:32:48 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2016-06-12 18:32:48 +0200
commite33305afaef53e296cbcf468dafec460f3661793 (patch)
tree39511085271c318bebc9dd79dc43a5b22b98facf /elisp/geiser-mode.el
parentbb990e11cd91956d10d156982d29cec50fee75bf (diff)
downloadgeiser-e33305afaef53e296cbcf468dafec460f3661793.tar.gz
geiser-e33305afaef53e296cbcf468dafec460f3661793.tar.bz2
Real fix fontification on scheme switch
Diffstat (limited to 'elisp/geiser-mode.el')
-rw-r--r--elisp/geiser-mode.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el
index 5747f40..4ca8af2 100644
--- a/elisp/geiser-mode.el
+++ b/elisp/geiser-mode.el
@@ -198,7 +198,9 @@ With prefix, recursively macro-expand the resulting expression."
(geiser-syntax--remove-kws)
(let ((impl (geiser-impl--read-impl)))
(geiser-impl--set-buffer-implementation impl)
- (geiser-repl--set-up-repl impl)))
+ (geiser-repl--set-up-repl impl)
+ (geiser-syntax--add-kws)
+ (geiser-syntax--fontify)))
(defun geiser-mode-switch-to-repl (arg)
"Switches to Geiser REPL.