; (elisp-fontify-symbol): Improve docstring.

This commit is contained in:
Eshel Yaron 2026-05-05 10:27:59 +02:00
parent 47e014ff90
commit 288f8d0b05
No known key found for this signature in database
GPG key ID: EF3EE9CA35D78618

View file

@ -611,7 +611,11 @@ semantic highlighting takes precedence."
If `elisp-add-help-echo' is non-nil, also annotate the symbol with the
`help-echo' text property. If `cursor-sensor-mode' is enabled and ID is
non-nil, also annotate the symbol with `cursor-sensor-functions'."
non-nil, also annotate the symbol with `cursor-sensor-functions'.
For the precise meaning of the arguments of this function, see the
docstring of `elisp-scope-analyze-form'. This function is intended for
use with `elisp-scope-analyze-form' as its CALLBACK argument."
(let ((end (progn (goto-char beg) (read (current-buffer)) (point))))
(let ((face (elisp-scope-get-symbol-role-property role :face)))
(add-face-text-property