One of Scotland's best-selling authors, Sir Alexander McCall Smith, is involved in the acquisition of a historic tweed mill.