docs: def deleteLogEntries(self, del_entries, save=True):
          """Deletes given list of entries from the log. Some entries' index.html files may be updated to reflect changes in prev/next links. If save=True, re-saves the log itself."""
          prev_valid = prev_deleted = None
          # fix Next/Prev links in remaining entries
          newents = []
          updated = set()
          for ent in self.entries:
              if not ent.ignore:
                  if ent in del_entries:
                      prev_deleted = ent
                  else:
                      if prev_deleted:
                          ent.setPrevUpNextLinks(prev=prev_valid)
                          prev_valid and prev_valid.generateIndex()
                          ent.generateIndex()
                          prev_deleted = None
                      prev_valid = ent
                      newents.append(ent)
              else:
                  newents.append(ent)
          # fix last "Next" link if we had a deleted entry followed by nothing
          if prev_deleted and prev_valid:
              prev_valid.setPrevUpNextLinks(next='')
              prev_valid.generateIndex()
          # regenerate indices
          for ent in newents:
              if id(ent) in updated:
                  ent.generateIndex()
          self.entries = newents
          if save:
              self.save()