Reading a pattern library adds no pattern or swatch to the document. A pattern added from it undoes and redoes with its swatch, and both are kept after a save and reopen.