1bea2ce40a
Before updating a listing, check if the update differs from the existing state. Only then update the buffer, otherwise return early. Initial reasoning: If `let g:vimwiki_auto_toc = 1` is set, saving a buffer would always update the `contents`-section, even if there were no updates in this section. This lead to undesired undo-behavior. NOTE: this fix was only tested for the toc-listing.