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))))
|
(let ((docs (edocs--get-docs (car symbol) (cdr symbol))))
|
||||||
(mapc (lambda (doc)
|
(mapc (lambda (doc)
|
||||||
(edocs--with-tag "div" nil
|
(edocs--with-tag "div" nil
|
||||||
(insert "– "
|
(insert "– ")
|
||||||
(edocs--get-type-display (car symbol))
|
(edocs--with-tag "strong" nil
|
||||||
": <tt>" (cdr symbol) "</tt> "
|
(insert (edocs--get-type-display (car symbol))))
|
||||||
(if (consp doc) (car doc) ""))
|
(insert ": ")
|
||||||
|
(edocs--with-tag "tt" nil
|
||||||
|
(insert (cdr symbol)))
|
||||||
|
(insert " " (if (consp doc) (car doc) ""))
|
||||||
(edocs--with-tag "div" '(("class" . "docstring"))
|
(edocs--with-tag "div" '(("class" . "docstring"))
|
||||||
(edocs--with-tag "p" nil
|
(edocs--with-tag "p" nil
|
||||||
(insert (or (edocs--format-doc doc)
|
(insert (or (edocs--format-doc doc)
|
||||||
|
|
Loading…
Reference in a new issue