I would like to have AUCTeX turn off math mode for the argument of the
shortintertext command from the
mathtools package. I customized the variable
texmathp-tex-command to add the following line to my
'(texmathp-tex-commands (quote (("shortintertext" arg-off))))
However when I enter a dollar in the argument of
shortintertext I get the following message in the minibuffer:
Math mode started with `align` cannot be closed with dollar
which indicates that the argument is still in math mode.
I am using Emacs 24.3 with package install of auctex.