When I visit a nonexistent file, type in some text, and do C-X C-S, it asks me which file to write, offering as the defaults the name of another file that I had read in since then.