Mac/Mc/M' are all interchangeable forms for the same meaning. I've seen all three used by the same person in the same document. While they did get a typographical twist, I've seen M'Callum on a solicitor's sign in Inverness so it isn't just typography. I've also seen the M' form in Kirk Session Papers.