Hi Arash,

>>>>> Arash Esbati <ar...@gnu.org> writes:
> Using $$...$$ in LaTeX is discouraged, so I think AUCTeX shouldn't
> promote this as well, so I suggest this change to
> `TeX-insert-dollar-electric-region':

I have one minor comment about your proposal.

> +    (replace-match (if (memq major-mode '(LaTeX-mode docTeX-mode))

I think we should use `derived-mode-p' here instead of comparing
`major-mode' directly.

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopMassiveKilling #CeasefireNOW



_______________________________________________
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to