From de6b4addba49abbb43f07c8e153356308bcd8709 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sun, 21 Nov 2010 07:48:22 +0100 Subject: Did i mention that getting autodoc right is hard? --- elisp/geiser-autodoc.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'elisp/geiser-autodoc.el') 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) -- cgit v1.2.3