branch: main
commit d85316fdb0a95fdd11ea863c8defa2260110c945
Author: Arash Esbati <[email protected]>
Commit: Arash Esbati <[email protected]>
Fix indentation of \repeat
* latex.el (LaTeX-indent-commands-regexp-make): Treat \repeat like
\fi.
---
latex.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/latex.el b/latex.el
index e320719a..3a32c4e7 100644
--- a/latex.el
+++ b/latex.el
@@ -4410,7 +4410,7 @@ macros are added to the regexp's. This function is
called in
'LaTeX-indent-mid-regexp-local)
(funcall func
LaTeX-indent-end-list
- "fi:?\\b"
+ "fi:?\\b\\|repeat\\b"
'LaTeX-indent-end-regexp-local)
(funcall func
LaTeX-indent-begin-exceptions-list