Function: marginalia--function-doc
marginalia--function-doc is a natively compiled function defined in
marginalia.el.
Signature
(marginalia--function-doc SYM)
Documentation
Documentation string of function SYM.
Source Code
;; Defined in /nix/store/hym71by08nv7fpgl7asan3dvidx05yya-emacs-packages-deps/share/emacs/site-lisp/elpa/marginalia-20260926.1228/marginalia.el
(defun marginalia--function-doc (sym)
"Documentation string of function SYM."
(if-let* ((str (ignore-errors (documentation sym))))
(save-match-data
(if (string-match marginalia--advice-regexp str)
(substring str (match-end 0))
str))
(marginalia--definition-prefix sym)))