You were right, CarolW, both Neil and Dorothy were previously married. Quite a cross-over of names here with the two Neil Macphersons:
Neil Macpherson, born about 1847, married to Effy Shaw, was the son of Allan Macpherson & Dorothy Macleod. Her parents were Malcolm Shaw and Ann McKinnon
Neil Macpherson, born about 1840, married Dorothy McKinnon 12 July 1881. Both were widowed. His parents were Alexander Macpherson & Flora McLeod. Her parents were Murdoch Campbell and Marion Shaw