On Mon, 22 May 2023 at 00:45, Hongyi Zhao <hongyi.z...@gmail.com> wrote: > Mine is as follows: > > --8<---------------cut here---------------start------------->8--- > $ runs the command cdlatex-dollar (found in cdlatex-mode-map), which > is an interactive byte-compiled Lisp function in ‘cdlatex.el’. > > It is bound to $. > > (cdlatex-dollar &optional ARG) > > Insert a pair of dollars unless number of backslashes before point is odd. > With arg, insert pair of double dollars. > --8<---------------cut here---------------end------------->8---
Then it's not a surprise that `TeX-electric-math' is ignored. I'm not familiar with cdlatex, but that's apparently overtaking AUCTeX keybindings. Bye, Mosè