When a new version of Emacs is released it is usually the case that some variables/commands/functions become obsolete. They are usually marked as such in the corresponding documentation:
turn-on-eldoc-mode
is an alias foreldoc-mode
ineldoc.el
. [...]This function is obsolete since 24.4; use
eldoc-mode
instead.
I'd like to make sure I am not referencing any obsolete variables in my init-file, but I'd also like to avoid checking the whole thing manually.
So my question is: Is there a way to automatically identify all obsolete variables in my init-file (that possibly also works for third-party packages installed via the package manager)?