kept-new-versions

kept-new-versions is a variable defined in `files.el'.
Its value is
2

  • This variable is safe as a file local variable if its value
    satisfies the predicate `integerp'.

Documentation:
Number of newest versions to keep when a new numbered backup is made.
Includes the new backup. Must be > 0

You can customize this variable.