diff options
-rw-r--r-- | elisp/geiser-reload.el | 3 |
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. |