Make autopair-mode play nicely with ruby-electric-mode