summaryrefslogtreecommitdiff
path: root/elisp/geiser-xref.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-10-30 04:57:31 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-10-30 04:57:31 +0200
commit89e1f6444208bc70deeeca765f212296ed11c634 (patch)
tree157946b1656e169664300497becf504f05a1c1b6 /elisp/geiser-xref.el
parentd89131b0ff58fb6d8d12fa0404f2b0d26e964d72 (diff)
downloadgeiser-chez-89e1f6444208bc70deeeca765f212296ed11c634.tar.gz
geiser-chez-89e1f6444208bc70deeeca765f212296ed11c634.tar.bz2
Elisp: more flexible parsing of :eval and :ge forms
This allows the implementation decide the concrete structure of the code sent to the REPL. For instance, it doesn't need to be a single s-expression, and argument order can be re-arranged.
Diffstat (limited to 'elisp/geiser-xref.el')
-rw-r--r--elisp/geiser-xref.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-xref.el b/elisp/geiser-xref.el
index 29bc008..a93b7a8 100644
--- a/elisp/geiser-xref.el
+++ b/elisp/geiser-xref.el
@@ -111,7 +111,7 @@
(defun geiser-xref--fetch-xrefs (ask kind rkind proc)
(let* ((name (geiser-xref--read-name ask (format "%s: " (capitalize kind))))
(res (and name (geiser-eval--send/result
- `(:eval ((:ge ,proc) (quote (:scm ,name))))))))
+ `(:eval (:ge ,proc (quote (:scm ,name))))))))
(message "Retrieving %ss list for '%s'..." rkind name)
(if (or (not res) (not (listp res)))
(message "No %ss found for '%s'" rkind name)