On Sun 02 Jul 2017 at 18:32, npostavs@users.sourceforge.net wrote: > Alex Branham writes: > >> On Fri 30 Jun 2017 at 00:54, npostavs@users.sourceforge.net wrote: > >>> Doc strings shouldn't be indented like that, and there should be a >>> double space between sentences. >> >> Fixed. > > You missed the double spacing before the "Else,". D'oh! Fixed this time, sorry! >> Actually, we need to check (use-region-p) anyway in case the mark >> hasn't been activated yet in the buffer: > > Hmm, I just tried this and it doesn't quite do the job. I believe the > problem is that the (interactive "r") form throws an error when the mark > hasn't been activated yet. To handle this case correctly you need to > replace the "r" with some lisp code that produces the argument list. Ok, now I don't use "r" and just get the region directly. I think that'll do the trick? Thanks, Alex