summaryrefslogtreecommitdiff
path: root/elisp/geiser-reload.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-reload.el')
-rw-r--r--elisp/geiser-reload.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/elisp/geiser-reload.el b/elisp/geiser-reload.el
index a99c86a..3a8a65d 100644
--- a/elisp/geiser-reload.el
+++ b/elisp/geiser-reload.el
@@ -56,7 +56,8 @@
(let ((fs (geiser--features-list)))
(unload-feature 'geiser-reload t)
(dolist (f fs)
- (when (featurep f) (unload-feature f t)))))
+ (when (featurep f) (unload-feature f t)))
+ (remove-hook 'scheme-mode-hook 'geiser-mode--maybe-activate)))
(defun geiser-reload (&optional arg)
"Reload Geiser.