Function: elisp-eldoc-funcall
elisp-eldoc-funcall is a byte-compiled function defined in
elisp-mode.el.gz.
Signature
(elisp-eldoc-funcall CALLBACK &rest IGNORED)
Documentation
Document function call at point by calling CALLBACK.
Intended for eldoc-documentation-functions (which see).
Probably introduced at or before Emacs version 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/elisp-mode.el.gz
(defun elisp-eldoc-funcall (callback &rest _ignored)
"Document function call at point by calling CALLBACK.
Intended for `eldoc-documentation-functions' (which see)."
(let* ((sym-info (elisp--fnsym-in-current-sexp))
(fn-sym (car sym-info)))
(when fn-sym
(funcall callback (apply #'elisp-get-fnsym-args-string sym-info)
:thing fn-sym
:face (if (functionp fn-sym)
'font-lock-function-name-face
'font-lock-keyword-face)))))