mbbill autochdir will sometimes change the bufname('%') results and making i…
…t harder to tell if the buffer is belong to undotree. Switching to a buf variable would be much reliable.
Latest commit b1b7667 Aug 23, 2018