summaryrefslogtreecommitdiff
path: root/elisp/geiser-autodoc.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-21 07:48:22 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-21 07:48:22 +0100
commit3747ea2183ab9d87360ece8e8b92505b122fae4c (patch)
tree393a2dba615d4cd605fa2a895e8d5750ef317596 /elisp/geiser-autodoc.el
parent4d80d6fc32171c6356ec5081a194e8b136e9c87b (diff)
downloadgeiser-3747ea2183ab9d87360ece8e8b92505b122fae4c.tar.gz
geiser-3747ea2183ab9d87360ece8e8b92505b122fae4c.tar.bz2
Did i mention that getting autodoc right is hard?
Diffstat (limited to 'elisp/geiser-autodoc.el')
-rw-r--r--elisp/geiser-autodoc.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/elisp/geiser-autodoc.el b/elisp/geiser-autodoc.el
index 725c8bc..eefcaf1 100644
--- a/elisp/geiser-autodoc.el
+++ b/elisp/geiser-autodoc.el
@@ -84,7 +84,7 @@ when `geiser-autodoc-display-module-p' is on."
(cond ((null args) nil)
((listp args)
(cons (car args) (geiser-autodoc--sanitize-args (cdr args))))
- (t '...)))
+ (t '("..."))))
(defun geiser-autodoc--format-arg (a)
(cond ((null a) "()")
@@ -98,7 +98,9 @@ when `geiser-autodoc-display-module-p' is on."
((and (listp a) (eq (car a) 'quote))
(format "'%s" (geiser-autodoc--format-arg (cadr a))))
((listp a) (format "(%s)"
- (mapconcat 'geiser-autodoc--format-arg a " ")))
+ (mapconcat 'geiser-autodoc--format-arg
+ (geiser-autodoc--sanitize-args a)
+ " ")))
(t (format "%s" a))))
(defun geiser-autodoc--insert-arg-group (args current &optional pos)