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 | 207e2a926ad78c852fee19b3066cfcb74d2bf195 (patch) | |
tree | d6aa7f0cc61130199384ca6729826821906bc6e5 | |
parent | 4ee9cd03cc334d41e17777815cc3207c54cd1984 (diff) | |
download | geiser-207e2a926ad78c852fee19b3066cfcb74d2bf195.tar.gz geiser-207e2a926ad78c852fee19b3066cfcb74d2bf195.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. |