For some reason, binding to [return] doesn't always work (namely, it doesn't work for me when I run emacs from a terminal), so here's a patch to use "\r" instead, which works for emacs run on a both terminals and a window-systems. (And it's how the emacs user manual says to do it, too: http://www.gnu.org/software/emacs/manual/html_node/emacs/Init-Rebinding.html\)
Fix RET binding
type \r doesn't seem to work, is it the right way to use this patch?
I kept the old line, and added the new one. I'm not sure this is quite right ("[ret]" is what you use with XEmacs), but it works for both.