Skip to content

Commit 8278458

Browse files
committed
Fix LaTeX math chords
1 parent 632722a commit 8278458

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/config-tex.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ matching string."
459459
(interactive)
460460
(if (texmathp)
461461
(my/TeX-escape-from-math)
462-
(TeX-insert-dollar)))
462+
(call-interactively #'TeX-insert-dollar)))
463463

464464
(defun TeX-math-chord-spaced ()
465465
(interactive)
@@ -468,7 +468,7 @@ matching string."
468468
(unless (or (bolp)
469469
(looking-back (rx (or space punct)) 1))
470470
(insert " "))
471-
(TeX-insert-dollar)))
471+
(call-interactively #'TeX-insert-dollar)))
472472

473473
(key-chord-define TeX-mode-map (kbd "fj")
474474
`(menu-item "" TeX-math-chord

0 commit comments

Comments
 (0)