"<mode-line> <mouse-1>" #'elisp-enable-lexical-binding)
(defface elisp-free-variable '((t :inherit underline))
- "Face for highlighting free variables in Emacs Lisp code.")
+ "Face for highlighting free variables in Emacs Lisp code."
+ :group 'lisp)
(defface elisp-binding-variable
'((t :slant italic :inherit font-lock-variable-name-face))
- "Face for highlighting binding occurrences of variables in Emacs Lisp code.")
+ "Face for highlighting binding occurrences of variables in Emacs Lisp code."
+ :group 'lisp)
(defface elisp-bound-variable '((t :slant italic))
- "Face for highlighting bound occurrences of variables in Emacs Lisp code.")
+ "Face for highlighting bound occurrences of variables in Emacs Lisp code."
+ :group 'lisp)
(defface elisp-variable-at-point '((t :inherit bold))
- "Face for highlighting (all occurrences of) the variable at point.")
+ "Face for highlighting (all occurrences of) the variable at point."
+ :group 'lisp)
(defun elisp-highlight-variable (pos)
"Highlight variable at POS along with its co-occurrences."