From 4297d6955a0cf08253173932d302732bf87fb77c Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 28 Dec 2013 16:59:13 +0100 Subject: Make type names bold --- edocs.el | 11 +++++++---- 1 file 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)) - ": " (cdr symbol) " " - (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) -- cgit v1.2.3-54-g00ecf