summaryrefslogtreecommitdiff
path: root/elisp/geiser-edit.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-17 00:44:11 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-02-17 00:44:11 +0100
commit4814d02ad67edb086b8ccd8ad6a6798fe780b968 (patch)
treef0d2e45fe5cc4020f0b5d3ea8c9dd063f9bfa243 /elisp/geiser-edit.el
parentf574939e5db2f64eab21493bb70ac6605f76646f (diff)
downloadgeiser-4814d02ad67edb086b8ccd8ad6a6798fe780b968.tar.gz
geiser-4814d02ad67edb086b8ccd8ad6a6798fe780b968.tar.bz2
Separate commands for evaluation and compilation.
Diffstat (limited to 'elisp/geiser-edit.el')
-rw-r--r--elisp/geiser-edit.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el
index 5d6ca46..fad08b6 100644
--- a/elisp/geiser-edit.el
+++ b/elisp/geiser-edit.el
@@ -95,7 +95,7 @@
(let* ((symbol (geiser-completion--read-symbol "Edit symbol: "
nil
geiser-edit--symbol-history))
- (cmd `(:gs ((:ge symbol-location) ',symbol))))
+ (cmd `(:eval ((:ge symbol-location) ',symbol))))
(geiser-edit--try-edit symbol (geiser-eval--send/wait cmd))))
(defun geiser-edit-symbol-at-point (&optional arg)
@@ -104,7 +104,7 @@ With prefix, asks for the symbol to edit."
(interactive "P")
(let* ((symbol (or (and (not arg) (symbol-at-point))
(geiser-completion--read-symbol "Edit symbol: ")))
- (cmd `(:gs ((:ge symbol-location) ',symbol)))
+ (cmd `(:eval ((:ge symbol-location) ',symbol)))
(marker (point-marker)))
(geiser-edit--try-edit symbol (geiser-eval--send/wait cmd))
(when marker (ring-insert find-tag-marker-ring marker))))
@@ -119,7 +119,7 @@ With prefix, asks for the symbol to edit."
(defun geiser-edit-module (module)
"Asks for a module and opens it in a new buffer."
(interactive (list (geiser-completion--read-module)))
- (let ((cmd `(:gs ((:ge module-location) (quote (:scm ,module))))))
+ (let ((cmd `(:eval ((:ge module-location) (quote (:scm ,module))))))
(geiser-edit--try-edit module (geiser-eval--send/wait cmd))))