summaryrefslogtreecommitdiff
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
commitde6b4addba49abbb43f07c8e153356308bcd8709 (patch)
tree1d5b6095ac65cd5af0dbf2f9556e0aaab21c3e00
parent398cdbed93912ee863f111eb7048a252d232391c (diff)
downloadgeiser-guile-de6b4addba49abbb43f07c8e153356308bcd8709.tar.gz
geiser-guile-de6b4addba49abbb43f07c8e153356308bcd8709.tar.bz2
Did i mention that getting autodoc right is hard?
-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)