1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

; (elisp-scope--symbol): Add a docstring.

This commit is contained in:
Eshel Yaron 2025-10-26 15:17:06 +01:00
parent 97c000de0f
commit cc824195bf
No known key found for this signature in database
GPG key ID: EF3EE9CA35D78618

View file

@ -588,6 +588,7 @@ Optional argument LOCAL is a local context to extend."
beg sym beg))
(defun elisp-scope--symbol (sym)
"Analyze and report symbol SYM as a variable reference."
(when-let* ((beg (elisp-scope--sym-pos sym))
(bare (bare-symbol sym)))
(if (keywordp bare) (elisp-scope--report 'constant beg bare)