diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-09-22 22:43:28 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-09-22 22:43:28 +0200 |
commit | 5f64d69c0e8c100c5a9954a0b1317d9d345a78e2 (patch) | |
tree | 46fdfde9f3ea107b49c7555886eca68301f13553 /elisp/geiser-mode.el | |
parent | aecb2b8a0debdfd29e6865c2f4854b37210d9160 (diff) | |
download | geiser-5f64d69c0e8c100c5a9954a0b1317d9d345a78e2.tar.gz geiser-5f64d69c0e8c100c5a9954a0b1317d9d345a78e2.tar.bz2 |
New implementation registration mechanism, for the elisp side of things.
Implementations must invoke define-geiser-implementation with an
appropriate set of methods. Simple inheritance is supported. Each
geiser module defines and registers the method names it uses.
Diffstat (limited to 'elisp/geiser-mode.el')
-rw-r--r-- | elisp/geiser-mode.el | 5 |
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)) |