diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-03-04 02:07:41 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-03-04 02:07:41 +0100 |
commit | 708205e21031dd016172523ef15e9aeda4417412 (patch) | |
tree | 5671a36110621612599b2578d3e3159cd7ad92c9 /elisp/geiser-mode.el | |
parent | 1561d097a65189175d43b5960a93cac194f4a2f4 (diff) | |
download | geiser-708205e21031dd016172523ef15e9aeda4417412.tar.gz geiser-708205e21031dd016172523ef15e9aeda4417412.tar.bz2 |
New geiser-reload command. New geiser command.
Diffstat (limited to 'elisp/geiser-mode.el')
-rw-r--r-- | elisp/geiser-mode.el | 11 |
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 |