Hi,
compare-buffer-substring allows all its arguments to be nil, but the docstring doesn't say that. Attached is a patch that amends the docstring.
--089e01228b94b303af053de5978f--
--089e01228b94b303b4053de59791
Content-Type: text/plain; charset=US-ASCII;
name="0001-Document-nil-args-of-compare-buffer-substrings.txt"
Content-Disposition: attachment;
filename="0001-Document-nil-args-of-compare-buffer-substrings.txt"
Content-Transfer-Encoding: base64
Content-ID: <157868d082c5f1733011>
X-Attachment-Id: 157868d082c5f1733011
RnJvbSBhYjg0ZTNjZTVkZjhhNjQ4ODE0ZTliMzBmYTEwYWE0MDFlMWZlYWZiIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBQaGlsaXBwIFN0ZXBoYW5pIDxwaHN0QGdvb2dsZS5jb20+CkRh
dGU6IFN1biwgMiBPY3QgMjAxNiAxOTo1ODozOSArMDIwMApTdWJqZWN0OiBbUEFUQ0hdIERvY3Vt
ZW50IG5pbCBhcmdzIG9mIGNvbXBhcmUtYnVmZmVyLXN1YnN0cmluZ3MKCiogZWRpdGZucy5jIChG
Y29tcGFyZV9idWZmZXJfc3Vic3RyaW5ncyk6IERvY3VtZW50IGJlaGF2aW9yIHdoZW4KdGhlIGFy
Z3VtZW50cyBhcmUgbmlsLgotLS0KIHNyYy9lZGl0Zm5zLmMgfCA0ICsrKysKIDEgZmlsZSBjaGFu
Z2VkLCA0IGluc2VydGlvbnMoKykKCmRpZmYgLS1naXQgYS9zcmMvZWRpdGZucy5jIGIvc3JjL2Vk
aXRmbnMuYwppbmRleCAwYmNjNDM5Li5kY2IxZDhkIDEwMDY0NAotLS0gYS9zcmMvZWRpdGZucy5j
CisrKyBiL3NyYy9lZGl0Zm5zLmMKQEAgLTI5MzYsNiArMjkzNiwxMCBAQCBSZXR1cm4gLU4gaWYg
Zmlyc3Qgc3RyaW5nIGlzIGxlc3MgYWZ0ZXIgTi0xIGNoYXJzLCArTiBpZiBmaXJzdCBzdHJpbmcg
aXMKIGdyZWF0ZXIgYWZ0ZXIg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