branch: externals/tex-parens
commit dab79b2515fa4a6a3e9419f345ec1339f8999a11
Author: Paul Nelson <[email protected]>
Commit: Paul Nelson <[email protected]>
make end-of-defun go beyond the \end{...} line
---
tex-parens.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tex-parens.el b/tex-parens.el
index 6f34f31d7d..2c5af3f2a7 100644
--- a/tex-parens.el
+++ b/tex-parens.el
@@ -73,7 +73,7 @@ Here `defun' means top-level environment."
"Move to the end of the current defun.
Here `defun' means top-level environment."
(interactive)
- (re-search-forward "^\\\\end{[^}]+}" nil t))
+ (re-search-forward "^\\\\end{[^}]+}.*\n" nil t))
(defcustom tp-left-right-delimiter-pairs
'(("(" . ")")