Buchanan wasn't the President during the Mexican War...it was Polk. Buchanan, on the other hand did help quiet things down in the San Juan Islands (WA) dispute of 1859 (also called the Pig War). Because of Buchanan we didn't go to war with the British over ownership of the Islands and that's a good thing to be remembered by.
Ah, you beat me by a minute. :-)