Remove usage of an obsolete variable font-lock-defaults-alist.
Replace an obsolete variable last-command-char with last-command-event