On 23/03/2023 11:22, Aaron L. Zeng wrote:
+++ b/lisp/org.el
...
@@ -15475,7 +15474,6 @@ If Org mode thinks that point is actually inside
an embedded LaTeX environment, return t when the environment is math
or let `texmathp' do its job otherwise.
`\\[org-cdlatex-mode-map]'"
- (interactive)
(cond
((not (derived-mode-p 'org-mode)) (apply orig-fun args))
((eq this-command 'cdlatex-math-symbol)
Might it be source of problems since `texmathp' is declared as
interactive and the purpose of this function is to be around advice?
Likely it is a false alarm since the functions have no interactive
arguments.