…t harder to tell if the buffer is belong to undotree. Switching to a buf variable would be much reliable.