replace last-command-char for last-command-event

last-command-char was an alias of last-command-event and was
deprecated long ago. Has been removed in Emacs 24.3
Merge pull request #2 from hso/master

replace last-command-char for last-command-event