ruby/ruby — pull request #198 by vderyagin (2012-10-18 10:57:52+00:00)
Title: ruby-electric.el: using variable `last-command-event' instead of obsolete `last-command-char'

`last-command-char` is long obsolete and recently was removed in GNU Emacs trunk, which broke "ruby-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`.