After compilation of some legacy code including the noindentafter package, I just noticed that they produce a warning which never came up before:
Package noindentafter Warning: Patching `\end' failed! (noindentafter) `\NoIndentAfter...' commands won't work.
I think this message is the result of an update of the etoolbox package (which is used in noindentafter) since its revision history notes say:
2.5g 2019-09-09 Update patching of
\beginand\endin advance of LaTeX kernel changes
Perhaps that patch has given rise to some incompatibility with noindentafter. Here's an MWE:
\documentclass[11pt]{article}
\usepackage{noindentafter}
\NoIndentAfterEnv{enumerate}
\setlength{\parindent}{3em}% % To make the indentation clearly visible
\begin{document}
\begin{enumerate}
\item[(1)] Some text.
\item[(2)] Some other text.
\end{enumerate}
Text that should not be indented.
\end{document}
And here's the result:
Any hint is welcome!


etoolbox, butnoindentafterthat tries patching\end(which is a bad thing to do, IMHO), but\endhas changed. – egreg Oct 29 '19 at 18:17