Hi, It's strange that it throws, since there's a sane default for `rend' which is (point-max). It's currently used when neither `rstart' or `rend' are provided. I attach a patch.