Update the revert-buffer-all function