highlight-defined is an Emacs minor mode that highlights defined
Emacs Lisp symbols in source code.
Currently it recognizes Lisp function, built-in function, macro, face and variable names.
The package is available in MELPA.
If you have MELPA in package-archives, use
M-x package-install RET highlight-defined RET
If you don't, open highlight-defined.el in Emacs and call
package-install-from-buffer.
To turn it on:
M-x highlight-defined-mode
To turn it on automatically:
(add-hook 'emacs-lisp-mode-hook 'highlight-defined-mode)
Change the following faces:
highlight-defined-function-name-facehighlight-defined-builtin-function-name-facehighlight-defined-special-form-name-facehighlight-defined-macro-name-facehighlight-defined-variable-name-facehighlight-defined-face-name-face
If you want to highlight face name by the face itself, set highlight-defined-face-use-itself to a non-nil value.