diff options
author | Tom Willemse | 2013-12-28 16:59:13 +0100 |
---|---|---|
committer | Tom Willemse | 2013-12-28 16:59:13 +0100 |
commit | 4297d6955a0cf08253173932d302732bf87fb77c (patch) | |
tree | 5a0620a79e9d32a55e70c5c5025c83707a0ca723 | |
parent | 3a7936e385a1908a1283ab514493f2a0b8df252f (diff) | |
download | edocs-4297d6955a0cf08253173932d302732bf87fb77c.tar.gz edocs-4297d6955a0cf08253173932d302732bf87fb77c.zip |
Make type names bold
-rw-r--r-- | edocs.el | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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 "– ") + (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) |