Workaround for latex-forward-sexp slowness.
commit0ffee6167f5a90c13fffc53f27a7e13d35475645
authorJoão Távora <joaotavora@gmail.com>
Fri, 3 Aug 2012 02:29:59 +0000 (3 10:29 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 3 Aug 2012 02:29:59 +0000 (3 10:29 +0800)
tree0a19cce1c4f2ca00563433776a67f0c84a4891b9
parentf35ef0edeeef54286775c79ddf0df7b1e5f26a25
Workaround for latex-forward-sexp slowness.

* textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop if
sexp scanning does not move point.

Fixes: debbugs:5734
lisp/ChangeLog
lisp/textmodes/tex-mode.el