diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-08-23 15:44:02 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-08-23 15:44:02 +0200 |
commit | 9475d8e30039bff3dfb500471ef74cf2b6362f79 (patch) | |
tree | 19fe3504cc90a0f31ed8ddc0d36696040b13bce6 | |
parent | 54d772a57b4fa5ad3bfe14884a1421d466724895 (diff) | |
download | geiser-9475d8e30039bff3dfb500471ef74cf2b6362f79.tar.gz geiser-9475d8e30039bff3dfb500471ef74cf2b6362f79.tar.bz2 |
Buglet in autodoc's argument display.
-rw-r--r-- | elisp/geiser-autodoc.el | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/elisp/geiser-autodoc.el b/elisp/geiser-autodoc.el index a8a7a50..26abd8d 100644 --- a/elisp/geiser-autodoc.el +++ b/elisp/geiser-autodoc.el @@ -122,9 +122,13 @@ when `geiser-autodoc-display-module-p' is on." (save-current-buffer (set-buffer (geiser-syntax--font-lock-buffer)) (erase-buffer) - (insert (format "(%s " (geiser-autodoc--proc-name proc module))) - (setq cpos - (geiser-autodoc--insert-args reqs cpos (and (not (zerop pos)) pos))) + (insert (format "(%s" (geiser-autodoc--proc-name proc module))) + (when reqs + (insert " ") + (setq cpos + (geiser-autodoc--insert-args reqs + cpos + (and (not (zerop pos)) pos)))) (when opts (insert " [") (setq cpos (geiser-autodoc--insert-args opts cpos pos)) |