From 92ebee294b4d66abbbb3250ce910239427c48ebb Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sat, 30 Oct 2010 04:57:31 +0200 Subject: 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. --- elisp/geiser-xref.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elisp/geiser-xref.el') 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) -- cgit v1.2.3