I'm in LaTeX/PS mode and whenever I close my $ math statements the cursor jumps to the first $ and back to the closing $. How can I disable this?
Asked
Active
Viewed 466 times
1 Answers
6
I assume that you are using AUCTeX. According to the documentation of TeX-insert-dollar
among other things the following happens if you input the closing $ sign:
Show matching dollar sign if this dollar sign ends the TeX math mode and ‘blink-matching-paren’ is non-nil.
What you can do is to set blink-matching-paren
to nil
.
EDIT: This will also affect the behaviour of emacs when you input a closing parenthesis etc., but you can use other modes e.g. show-paren-mode
to still highlight the opening parenthesis.

andrej
- 993
- 6
- 15
blink-matching-paren
is set tot
. But if you don't like this behaviour anyway then this should be fine. – andrej Apr 06 '19 at 20:09blink-matching-paren
is set tot
– user1766555 Apr 06 '19 at 20:11show-paren-mode
activated. Without that andblink-matching-paren
set tonil
there is no highlighting on my system. – andrej Apr 06 '19 at 20:21