Function: elisp-highlight-variable
elisp-highlight-variable is a byte-compiled function defined in
elisp-mode.el.gz.
Signature
(elisp-highlight-variable POS)
Documentation
Highlight variable at POS along with its co-occurrences.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/elisp-mode.el.gz
(defun elisp-highlight-variable (pos)
"Highlight variable at POS along with its co-occurrences."
(pcase-dolist (`(,beg . ,len) (elisp-local-references pos))
(let ((ov (make-overlay beg (+ beg len))))
(overlay-put ov 'face 'elisp-variable-at-point)
(overlay-put ov 'elisp-highlight-variable t))))