I've remapped Ctrl-j to next-line with
(global-set-key "\C-j" 'next-line) but this doesn't work under TeX mode where Ctrl-j "insert two hard returns (standard end of paragraph) and check syntax of paragraph". Is there a work around?
migrated from stackoverflow.com Feb 15 '12 at 22:18
The other thing that you can do is unbind the key in
can you reproduce the problem without loading the init file? emacs -q or emacs --no-init-file should run emacs without the config file. Repeat your actions to see whether it solves it.
And does this question help? You could do the remapping in the local mode as suggested here; you just have to change it to your function and tex-mode.