Subject: bug#22819: 25.0.91; Don't try to indent region if the buffer is read-only

From: Eli Zaretskii <[email-masked]>
Date: Sat, 05 Aug 2017 16:13:43 +0300

> From: [email-masked]
> Cc: Kaushal Modi <[email-masked]>,  [email-masked]
> Date: Sat, 05 Aug 2017 08:47:37 -0400
> 
> indent-region doesn't have any side-effects though, right?

That depends on whether indent-region-function is nil, and what it
does if non-nil.