summaryrefslogtreecommitdiff
path: root/elisp/geiser-autodoc.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-autodoc.el')
-rw-r--r--elisp/geiser-autodoc.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/elisp/geiser-autodoc.el b/elisp/geiser-autodoc.el
index b1feef3..5612296 100644
--- a/elisp/geiser-autodoc.el
+++ b/elisp/geiser-autodoc.el
@@ -143,7 +143,8 @@ when `geiser-autodoc-display-module-p' is on."
(propertize str 'face 'geiser-font-lock-autodoc-identifier)))
(defun geiser-autodoc--str* (full-signature)
- (geiser-autodoc--str (list (car full-signature)) full-signature))
+ (let ((geiser-font-lock-autodoc-current-arg 'default))
+ (geiser-autodoc--str (list (car full-signature)) full-signature)))
(defsubst geiser-autodoc--value-str (proc module value)
(let ((name (geiser-autodoc--id-name proc module)))
@@ -167,7 +168,7 @@ when `geiser-autodoc-display-module-p' is on."
(insert " |"))))
(delete-char -2)
(insert ")")
- (buffer-string)))))
+ (buffer-substring (point-min) (point))))))
(defun geiser-autodoc--autodoc (path &optional keep-cached)
(let ((signs (geiser-autodoc--get-signatures (mapcar 'car path)