|
From: | Stefan Monnier |
Subject: | bug#35254: 27.0.50; cc-mode/electric-pair-mode/electric-layout-mode: bad trailing whitespace behavior in cc-mode |
Date: | Mon, 13 May 2019 21:26:54 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> Do you mean `newline-and-indent`? Or are you talking about the margin > stuff? (which doesn't apply to progmodes usually, as far as I can tell). I'm talking about "the margin stuff". >> So, I'd suggest an even simpler patch which just closes the `unless` >> earlier. Would that work? > It has the same effect as Alan's patch: Indeed. I think it just fixes an inconsistency in Alan's patch (I assume Alan didn't know that (memq indent-line-function electric-indent-functions-without-reindent) is a way to catch some modes that failed to set electric-indent-inhibit). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |