summaryrefslogtreecommitdiff
path: root/elisp/geiser-mode.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-03-04 02:07:41 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-03-04 02:07:41 +0100
commit902b7685194e9adfcd19d518a45dae3c4b13a90b (patch)
tree5558ffadf7779ec3ff8238f9ea2a8b4bef5cbf1c /elisp/geiser-mode.el
parenta4b7db53db0d05b8a39c263715a296d64b4f64f4 (diff)
downloadgeiser-chez-902b7685194e9adfcd19d518a45dae3c4b13a90b.tar.gz
geiser-chez-902b7685194e9adfcd19d518a45dae3c4b13a90b.tar.bz2
New geiser-reload command. New geiser command.
Diffstat (limited to 'elisp/geiser-mode.el')
-rw-r--r--elisp/geiser-mode.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el
index 6a3df40..855f071 100644
--- a/elisp/geiser-mode.el
+++ b/elisp/geiser-mode.el
@@ -193,5 +193,16 @@ interacting with the Geiser REPL is at your disposal.
(geiser-mode--triple-chord ?x ?x 'geiser-expand-definition)
+;;; Reload support:
+
+(defun geiser-mode--buffers ()
+ (let ((buffers))
+ (dolist (buffer (buffer-list))
+ (when (buffer-live-p buffer)
+ (set-buffer buffer)
+ (when geiser-mode (push buffer buffers))))
+ buffers))
+
+
(provide 'geiser-mode)
;;; geiser-mode.el ends here