summaryrefslogtreecommitdiff
path: root/elisp/geiser-repl.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-03-02 19:12:37 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-03-02 19:12:37 +0100
commit0085c16dc3add5722e86c738c0ff1fa969183d86 (patch)
treecc4ab3e5a1504ddfa2764659d813089fc3be7cad /elisp/geiser-repl.el
parent3bb10cbc0c9a04afdf033efc4b293e5f49cbdfc9 (diff)
downloadgeiser-0085c16dc3add5722e86c738c0ff1fa969183d86.tar.gz
geiser-0085c16dc3add5722e86c738c0ff1fa969183d86.tar.bz2
Correctly specify current module in REPL (and make it generic).
Diffstat (limited to 'elisp/geiser-repl.el')
-rw-r--r--elisp/geiser-repl.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index 3f1301c..9d01835 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -200,6 +200,7 @@ REPL buffer."
(set (make-local-variable 'beginning-of-defun-function)
'geiser-repl--beginning-of-defun)
(set-syntax-table scheme-mode-syntax-table)
+ (geiser-eval--current-module-function nil)
(when geiser-repl-autodoc-p (geiser-autodoc-mode 1)))
(define-key geiser-repl-mode-map "\C-cz" 'run-guile)