save-place-ignore-files-regexp

save-place-ignore-files-regexp is a variable defined in `saveplace.el'.
Its value is

"\\(?:COMMIT_EDITMSG\\|hg-editor-[[:alnum:]]+\\.txt\\|svn-commit\\.tmp\\|bzr_log\\.[[:alnum:]]+\\)$"


Documentation:
Regexp matching files for which no position should be recorded.
Useful for temporary file such as commit message files that are
automatically created by the VCS. If set to nil, this feature is
disabled, i.e., the position is recorded for all files.

You can customize this variable.

This variable was introduced, or its default value was changed, in version 24.1 of Emacs.