summaryrefslogtreecommitdiff
path: root/elisp/geiser.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser.el')
-rw-r--r--elisp/geiser.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser.el b/elisp/geiser.el
index 61411dc..4c1a16e 100644
--- a/elisp/geiser.el
+++ b/elisp/geiser.el
@@ -138,8 +138,8 @@ loaded."
(buffers (and (featurep 'geiser-mode) (geiser-mode--buffers))))
(unless (file-exists-p geiser-main-file)
(error "%s does not contain Geiser!" dir))
- (remove geiser-elisp-dir load-path)
(geiser-unload)
+ (setq load-path (remove geiser-elisp-dir load-path))
(load-file geiser-main-file)
(geiser-setup)
(dolist (feature (reverse (geiser--features-list)))