diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-26 16:12:24 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-26 16:12:24 +0100 |
commit | 0233627d20dd483745c8386b2eb5ff26b355f854 (patch) | |
tree | b0d114edc4ead058d661f199d14e04f055cbb88b /elisp/geiser-autodoc.el | |
parent | 931c38b796dd90897c7039aa7a9afde70131dbb8 (diff) | |
download | geiser-guile-0233627d20dd483745c8386b2eb5ff26b355f854.tar.gz geiser-guile-0233627d20dd483745c8386b2eb5ff26b355f854.tar.bz2 |
Doc browser: better link highlighting
We were adding extra spaces to function signatures.
Diffstat (limited to 'elisp/geiser-autodoc.el')
-rw-r--r-- | elisp/geiser-autodoc.el | 5 |
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) |