Use lexical binding everywhere
Require Emacs 24
Get rid of lexical-let
Add missing type and group to a defcustom
Fix defvar shadowing
Replace deprecated turn-on-eldoc-mode function