def METHOD_NAME(self):
    """Internal pop_redo function. Emit 'redo-changed' if the redo stack is
    now empty."""
    history = self._redo.pop()
    if len(self._redo) == 0:
        self.emit('redo-changed', False)
    return history