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 | a3143563485da98b232b01826ce81490b620bb89 (patch) | |
tree | 9c884bd457fc363b5aea7bd0ec237d2abe09d6ac | |
parent | 5c9a941ddc6cbbb3b62f04b55b04e29e493c01fa (diff) | |
download | geiser-a3143563485da98b232b01826ce81490b620bb89.tar.gz geiser-a3143563485da98b232b01826ce81490b620bb89.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 " ")) |