Closed Hi-Angel closed 8 months ago
The older code has been always deleting the whitespace, even if indentation is already as expected. Fix that by replacing indent-to with indent-line-to which avoids modifying the line if there's nothing to modify.
indent-to
indent-line-to
As a bonus, this simplifies the code.
The older code has been always deleting the whitespace, even if indentation is already as expected. Fix that by replacing
indent-to
withindent-line-to
which avoids modifying the line if there's nothing to modify.As a bonus, this simplifies the code.