summaryrefslogtreecommitdiff
path: root/elisp/geiser-autodoc.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-06-06 21:14:54 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-06-06 21:14:54 +0200
commit7718c540a2af96551bfa46a0fc8fb38931eb916e (patch)
treeb2ba33af210d0d7278e2a208939963f0a3790245 /elisp/geiser-autodoc.el
parent2a540e211f05121448df37ac2fb3944c3a78a556 (diff)
downloadgeiser-7718c540a2af96551bfa46a0fc8fb38931eb916e.tar.gz
geiser-7718c540a2af96551bfa46a0fc8fb38931eb916e.tar.bz2
Elisp: better fix for previous bug.
Diffstat (limited to 'elisp/geiser-autodoc.el')
-rw-r--r--elisp/geiser-autodoc.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/elisp/geiser-autodoc.el b/elisp/geiser-autodoc.el
index 4b797fc..06a10e7 100644
--- a/elisp/geiser-autodoc.el
+++ b/elisp/geiser-autodoc.el
@@ -81,11 +81,7 @@ when `geiser-autodoc-display-module-p' is on."
(defun geiser-autodoc--sanitize-args (args)
(cond ((null args) nil)
((listp args)
- (let* ((arg (car args))
- (arg (if (and (consp arg) (eq (caar arg) ':keyword))
- (format "(#:%s %s)" (cdar arg) (cdr arg))
- arg)))
- (cons arg (geiser-autodoc--sanitize-args (cdr args)))))
+ (cons (car args) (geiser-autodoc--sanitize-args (cdr args))))
(t '(...))))
(defun geiser-autodoc--insert-arg-group (args current &optional pos)
@@ -96,7 +92,7 @@ when `geiser-autodoc-display-module-p' is on."
(numberp current)
(setq current (1+ current))
(= (1+ pos) current))
- (and (symbolp current)
+ (and (keywordp current)
(listp a)
(eq current (car a))))
(put-text-property p (point)