diff options
author | Henry Till <henrytill@gmail.com> | 2014-10-06 14:47:28 -0400 |
---|---|---|
committer | Henry Till <henrytill@gmail.com> | 2014-10-06 14:47:28 -0400 |
commit | fe869d21f9a2a5c81b0740aaa809205a019faf3f (patch) | |
tree | 89e195110c1554dc3cd585e65b9fbb9d13db661b | |
parent | 1d1e209999ae7b3d1a5016fdf00ec7206965d1b2 (diff) | |
download | geiser-chez-fe869d21f9a2a5c81b0740aaa809205a019faf3f.tar.gz geiser-chez-fe869d21f9a2a5c81b0740aaa809205a019faf3f.tar.bz2 |
remove geiser-mode--maybe-activate from scheme-mode-hook on geiser-unload
-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. |