summaryrefslogtreecommitdiff
path: root/elisp/geiser-doc.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
commit92ebee294b4d66abbbb3250ce910239427c48ebb (patch)
treefecbd5833c0af3664f9dd6d7b7dccec683d84799 /elisp/geiser-doc.el
parentfcc581bea01856c8c644bf3e312c2369949b353f (diff)
downloadgeiser-92ebee294b4d66abbbb3250ce910239427c48ebb.tar.gz
geiser-92ebee294b4d66abbbb3250ce910239427c48ebb.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-doc.el')
-rw-r--r--elisp/geiser-doc.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-doc.el b/elisp/geiser-doc.el
index e8e3f58..3096a3d 100644
--- a/elisp/geiser-doc.el
+++ b/elisp/geiser-doc.el
@@ -221,11 +221,11 @@ help (e.g. browse an HTML page) implementing this method.")
(defun geiser-doc--get-docstring (symbol module)
(geiser-eval--send/result
- `(:eval ((:ge symbol-documentation) ',symbol) ,module)))
+ `(:eval (:ge symbol-documentation ',symbol) ,module)))
(defun geiser-doc--get-module-exports (module)
(geiser-eval--send/result
- `(:eval ((:ge module-exports) (:module ,module)))))
+ `(:eval (:ge module-exports (:module ,module)))))
(defun geiser-doc-symbol (symbol &optional module impl)
(let ((module (or module (geiser-eval--get-module)))