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 | bc740d87f846f372f06263298495a9ff1506e4c7 (patch) | |
tree | 19e630aebb180f90eb2bb37344939cf94f83a67b /elisp/geiser-autodoc.el | |
parent | 3bf101346960ab33261354504102a4de642ed445 (diff) | |
download | geiser-guile-bc740d87f846f372f06263298495a9ff1506e4c7.tar.gz geiser-guile-bc740d87f846f372f06263298495a9ff1506e4c7.tar.bz2 |
Buglet in autodoc's argument display.
Diffstat (limited to 'elisp/geiser-autodoc.el')
-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)) |