Given two buffers, how do I find the first character position where their contents differ? E.g. for contents abcdef and abcDeF, the first difference would be at point=4. For abc and ab, it would be at point=3.
Is there anything more direct than writing my own binary search based on compare-buffer-substrings to compare progressively smaller substrings?