Make type names bold
This commit is contained in:
parent
3a7936e385
commit
4297d6955a
1 changed files with 7 additions and 4 deletions
11
edocs.el
11
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 "– ")
|
||||
(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)
|
||||
|
|
Loading…
Reference in a new issue