diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-07-25 23:43:50 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-07-25 23:43:50 +0200 |
commit | 0b410d7b466f86afeb2848be5e3b7a236d7da208 (patch) | |
tree | 45bfc31eb85e0358168cc8e48dbd04aff2cf6deb /elisp/geiser-mode.el | |
parent | 630fe511b7ca38d22dc6729b73989b20b3a21076 (diff) | |
download | geiser-0b410d7b466f86afeb2848be5e3b7a236d7da208.tar.gz geiser-0b410d7b466f86afeb2848be5e3b7a236d7da208.tar.bz2 |
C-c z as a to and fro jump, plus documentation.
Diffstat (limited to 'elisp/geiser-mode.el')
-rw-r--r-- | elisp/geiser-mode.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el index 72d3536..ff50a10 100644 --- a/elisp/geiser-mode.el +++ b/elisp/geiser-mode.el @@ -55,7 +55,7 @@ ;;; Evaluation commands: (defun geiser--go-to-repl () - (switch-to-geiser) + (switch-to-geiser nil nil (current-buffer)) (push-mark) (goto-char (point-max))) @@ -155,8 +155,9 @@ With prefix, recursively macro-expand the resulting expression." "Switches to Geiser REPL. With prefix, try to enter the current's buffer module." (interactive "P") - (if arg (switch-to-geiser-module (geiser-eval--get-module)) - (switch-to-geiser))) + (if arg + (switch-to-geiser-module (geiser-eval--get-module) (current-buffer)) + (switch-to-geiser nil nil (current-buffer)))) (defun geiser-mode-switch-to-repl-and-enter () "Switches to Geiser REPL and enters current's buffer module." |