summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-08-07 00:11:52 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-08-07 00:11:52 +0200
commitc882e02981f805df197dcaef3a14147e5ef815c7 (patch)
treea43e2f7aeacb7aff7d4c78771946536ae869229e
parent1a3d29079c07ee9288fc9ffcadc9ad101f1a019a (diff)
downloadgeiser-c882e02981f805df197dcaef3a14147e5ef815c7.tar.gz
geiser-c882e02981f805df197dcaef3a14147e5ef815c7.tar.bz2
kludgy fix for opt/key/rest markers in autodoc
-rw-r--r--elisp/geiser-autodoc.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/elisp/geiser-autodoc.el b/elisp/geiser-autodoc.el
index f6d36a8..0449032 100644
--- a/elisp/geiser-autodoc.el
+++ b/elisp/geiser-autodoc.el
@@ -97,10 +97,10 @@ when `geiser-autodoc-display-module-p' is on."
(defun geiser-autodoc--insert-arg (arg current pos)
(let ((p (point))
- (str (format "%s" (if (eq arg '\#:rest) "." arg)))
- (face (cond ((eq '\#:opt arg)
+ (str (format "%s" (if (eq arg 'geiser-rest_marker) "." arg)))
+ (face (cond ((eq 'geiser-opt_marker arg)
'geiser-font-lock-autodoc-optional-arg-marker)
- ((eq '\#:key arg)
+ ((eq 'geiser-key_marker arg)
'geiser-font-lock-autodoc-key-arg-marker)
((= current pos)
'geiser-font-lock-autodoc-current-arg)