auto-save-visited-file-name

auto-save-visited-file-name is a variable defined in `C source code'.
Its value is
nil


Documentation:
Non-nil says auto-save a buffer in the file it is visiting, when practical.
Normally auto-save files are written under other names.

You can customize this variable.