Thanks for the quick response. I just had a chance to check it out. Unfortunately (unless I am mistaken), with the change, `texmathp' is now always returning t... which is not very helpful. Justin Ihor Radchenko writes: > Justin Silverman writes: > >> texmathp when used in org-mode seems to have problems with multiline align* environments. >> >> Consider the following math environment: >> >> >> \begin{align*} >> y_{i} &~ f(mu_{i}) >> | >> \end{align*} >> >> where cursor is at `|'. With cursor at this point try `(texmathp)'. I get `nil'. It seems to only >> be a problem on the start of a blank line. > > Thanks for reporting! > Fixed on main. >