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 | 2b6842504ef1609ab736307decbc55d97c575cf8 (patch) | |
tree | 510ecb7123af77964726316e38143ae3389604d4 /elisp/geiser-autodoc.el | |
parent | b75fc65377be3253a88d8e2f2de894bc414c1c99 (diff) | |
download | geiser-2b6842504ef1609ab736307decbc55d97c575cf8.tar.gz geiser-2b6842504ef1609ab736307decbc55d97c575cf8.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) |