summaryrefslogtreecommitdiff
path: root/elisp/geiser-reload.el
diff options
context:
space:
mode:
authorHenry Till <henrytill@gmail.com>2014-10-06 14:47:28 -0400
committerHenry Till <henrytill@gmail.com>2014-10-06 14:47:28 -0400
commitfe869d21f9a2a5c81b0740aaa809205a019faf3f (patch)
tree89e195110c1554dc3cd585e65b9fbb9d13db661b /elisp/geiser-reload.el
parent1d1e209999ae7b3d1a5016fdf00ec7206965d1b2 (diff)
downloadgeiser-guile-fe869d21f9a2a5c81b0740aaa809205a019faf3f.tar.gz
geiser-guile-fe869d21f9a2a5c81b0740aaa809205a019faf3f.tar.bz2
remove geiser-mode--maybe-activate from scheme-mode-hook on geiser-unload
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.