On Sat, 11 Sep 2021 at 14:45, Lars Ingebrigtsen wrote: > Augusto Stoffel writes: > >> If it is stylistically acceptable, I think >> >> (or (bound-and-true-p comint-max-line-length) 1024) >> >> is the simplest solution. One could also replace the mysterious 1024 by >> 0, which was more or less the previous situation anyway. > > Sure, that'd be fine. I've attached a patch