fix ruby-mode insert auto-pair setting
fix for smartrep
add defcustom snippet