Refactor emacs functions
Remove ruby-electric