ruby-electric-mode: Emacs-24.3 compatibility