summaryrefslogtreecommitdiff
path: root/elisp/geiser-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-mode.el')
-rw-r--r--elisp/geiser-mode.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el
index 571e750..d083973 100644
--- a/elisp/geiser-mode.el
+++ b/elisp/geiser-mode.el
@@ -251,8 +251,9 @@ interacting with the Geiser REPL is at your disposal.
(dolist (b buffers)
(when (buffer-live-p (car b))
(set-buffer (car b))
- (geiser-mode 1)
- (when (cdr b) (geiser-impl--set-buffer-implementation (cdr b))))))
+ (when (cdr b)
+ (geiser-impl--set-buffer-implementation (cdr b)))
+ (geiser-mode 1))))
(defun geiser-mode-unload-function ()
(dolist (b (geiser-mode--buffers))