Inserting a $ symbol in a latex document (in AucTex mode) automatically inserts 2 $s in a row (and then hitting "delete" immediately deletes both). I can confirm that the variable TeX-electric-math is nil. What other variables can be causing this behavior? I'd like to disable it.

  • Here, hitting backspace delete both, but hitting delete only delete the second one. – Rémi Jan 17 '19 at 7:27
  • Always test with emacs -Q and maybe M-x package-initialize if you use package.el. Always give version information in the question: 1.: M-x emacs-version, 2.: M-x locate-library latex. If the problem disappears with emacs -Q find the problem by bisecting your init file(s). – Tobias Jan 17 '19 at 8:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.