summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-12-28 16:59:13 +0100
committerGravatar Tom Willemse2013-12-28 16:59:13 +0100
commit4297d6955a0cf08253173932d302732bf87fb77c (patch)
tree5a0620a79e9d32a55e70c5c5025c83707a0ca723
parent3a7936e385a1908a1283ab514493f2a0b8df252f (diff)
downloadedocs-4297d6955a0cf08253173932d302732bf87fb77c.tar.gz
edocs-4297d6955a0cf08253173932d302732bf87fb77c.zip
Make type names bold
-rw-r--r--edocs.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/edocs.el b/edocs.el
index 601679f..6cd0db6 100644
--- a/edocs.el
+++ b/edocs.el
@@ -171,10 +171,13 @@ See the docstring for `edocs--module-name' for more information."
(let ((docs (edocs--get-docs (car symbol) (cdr symbol))))
(mapc (lambda (doc)
(edocs--with-tag "div" nil
- (insert "– "
- (edocs--get-type-display (car symbol))
- ": <tt>" (cdr symbol) "</tt> "
- (if (consp doc) (car doc) ""))
+ (insert "&ndash; ")
+ (edocs--with-tag "strong" nil
+ (insert (edocs--get-type-display (car symbol))))
+ (insert ": ")
+ (edocs--with-tag "tt" nil
+ (insert (cdr symbol)))
+ (insert " " (if (consp doc) (car doc) ""))
(edocs--with-tag "div" '(("class" . "docstring"))
(edocs--with-tag "p" nil
(insert (or (edocs--format-doc doc)