Skip changing the buffer when the calculated indentation is the same as the current indentation in the buffer.