C-x C-s saves only the current buffer.
How do I save all files (or all buffers)?
Press C-x, s, and then choose "!" for saving all buffers.