scala/scala-dist — pull request #70 by vderyagin (2012-12-05 09:38:10+00:00)
Title: replaced uses of deprecated variable "last-command-char"

`last-command-char` is long obsolete and recently was removed in GNU Emacs trunk, which broke "scala-mode-feature-electric.el".

From emacs documentation:

```
last-command-char is a variable defined in `subr.el'.

This variable is an alias for `last-command-event'.
This variable is obsolete since at least 19.34;
use `last-command-event' instead.

Documentation:
Last input event that was part of a command.
```

This patch simply replaces uses of `last-command-char` with `last-command-event`.