branch: externals/tex-parens
commit 2bdbd9c65caaf517885c849893e0c30645b3cc7f
Author: Paul Nelson <[email protected]>
Commit: Paul Nelson <[email protected]>

    tweak tp--end-of-defun
---
 tex-parens.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tex-parens.el b/tex-parens.el
index ede229f9d6..6f34f31d7d 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{[^}]+}\n" nil t))
+  (re-search-forward "^\\\\end{[^}]+}" nil t))
 
 (defcustom tp-left-right-delimiter-pairs
   '(("(" . ")")

Reply via email to