Function: elisp--annotate-symbol-with-help-echo
elisp--annotate-symbol-with-help-echo is a byte-compiled function
defined in elisp-mode.el.gz.
Signature
(elisp--annotate-symbol-with-help-echo ROLE BEG END SYM)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/elisp-mode.el.gz
(defun elisp--annotate-symbol-with-help-echo (role beg end sym)
(put-text-property
beg end 'help-echo
(when-let* ((hlp (elisp-scope-get-symbol-role-property role :help)))
;; HLP is either a string, or a function that takes SYM as an
;; additional argument on top of the usual WINDOW, OBJECT and POS
;; that `help-echo' functions takes.
(if (stringp hlp) hlp (apply-partially hlp sym)))))