summaryrefslogtreecommitdiff
path: root/elisp/geiser-doc.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-21 02:30:04 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-21 02:30:04 +0100
commit5c9a941ddc6cbbb3b62f04b55b04e29e493c01fa (patch)
tree16fb2092c98ef64addf4fd136955d4e56eefc7d3 /elisp/geiser-doc.el
parent8d2734a4cfa7c95597c156868310096e1229e562 (diff)
downloadgeiser-5c9a941ddc6cbbb3b62f04b55b04e29e493c01fa.tar.gz
geiser-5c9a941ddc6cbbb3b62f04b55b04e29e493c01fa.tar.bz2
Even better, as in 'correct', display of autodoc args
We're being a bit silly here, first converting the autodoc retort string to an elisp value and then reconverting the arguments again to a string with scheme syntax. We should probably do this at geiser-syntax's parser level, with a special mode producing stringy representations of tokens. Don't tell anyone.
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 b95242c..3778770 100644
--- a/elisp/geiser-doc.el
+++ b/elisp/geiser-doc.el
@@ -278,8 +278,8 @@ With prefix argument, ask for symbol (with completion)."
(geiser-doc--insert-title (format "%s" module) t)
(newline)
(dolist (g '(("Procedures:" . procs)
- ("Variables:" . vars)
- ("Syntax:" . syntax)))
+ ("Syntax:" . syntax)
+ ("Variables:" . vars)))
(geiser-doc--insert-list (car g)
(cdr (assoc (cdr g) exports))
module