I'm using auctex, and trying to make underscores count as part of a word. There are numerous answers to this question, and I've tried the following
(modify-syntax-entry ?_ "w")
(modify-syntax-entry ?_ "w" latex-mode-syntax-table)
(modify-syntax-entry ?_ "w" LaTeX-mode-syntax-table)
(modify-syntax-entry ?_ "w" tex-mode-syntax-table)
(modify-syntax-entry ?_ "w" TeX-mode-syntax-table)
this works for any other mode, but not for my auctex files. I'm not even sure which is the correct syntax table (for example C-h m
tells me that I'm in LaTeX/FMP mode, but there is no syntax table called LaTeX/FMP). Any ideas how to proceed?
Using emacs 25.1.1, auctex version 11.90.0.