Function: helpful--format-docstring
helpful--format-docstring is a byte-compiled function defined in
helpful.el.
Signature
(helpful--format-docstring DOCSTRING)
Documentation
Replace cross-references with links in DOCSTRING.
Source Code
;; Defined in ~/.emacs.d/elpa/helpful-20250408.334/helpful.el
;; TODO: fix upstream Emacs bug that means `-map' is not highlighted
;; in the docstring for `--map'.
(defun helpful--format-docstring (docstring)
"Replace cross-references with links in DOCSTRING."
(-> docstring
(helpful--split-first-line)
(helpful--propertize-info)
(helpful--propertize-links)
(helpful--propertize-bare-links)
(helpful--format-command-keys)
(s-trim)))