diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-21 05:24:36 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-21 05:24:36 +0100 |
commit | eefc4cddbc303b6de38b9b0d80ac591e6282fd5c (patch) | |
tree | fe5a7a2fc9798afc3c96f61ea639fed33f4a5785 | |
parent | 8ebfa570ad6a722a831c53a0229464055bf227c3 (diff) | |
download | geiser-guile-eefc4cddbc303b6de38b9b0d80ac591e6282fd5c.tar.gz geiser-guile-eefc4cddbc303b6de38b9b0d80ac591e6282fd5c.tar.bz2 |
Correct display of "..." in autodoc
It'd be interesting to check what percentage of commits are related to
autodoc...
-rw-r--r-- | elisp/geiser-autodoc.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/elisp/geiser-autodoc.el b/elisp/geiser-autodoc.el index 2873bb0..725c8bc 100644 --- a/elisp/geiser-autodoc.el +++ b/elisp/geiser-autodoc.el @@ -89,6 +89,7 @@ when `geiser-autodoc-display-module-p' is on." (defun geiser-autodoc--format-arg (a) (cond ((null a) "()") ((symbolp a) (format "%s" a)) + ((equalp a "...") "...") ((stringp a) (format "%S" a)) ((and (listp a) (keywordp (car a))) (if (and (cdr a) (listp (cdr a))) @@ -98,7 +99,7 @@ when `geiser-autodoc-display-module-p' is on." (format "'%s" (geiser-autodoc--format-arg (cadr a)))) ((listp a) (format "(%s)" (mapconcat 'geiser-autodoc--format-arg a " "))) - (t (format "%S" a)))) + (t (format "%s" a)))) (defun geiser-autodoc--insert-arg-group (args current &optional pos) (when args (insert " ")) |