Variable: auto-save-timeout
auto-save-timeout is a customizable variable defined in keyboard.c.
Value
30
Documentation
Number of seconds idle time before auto-save.
Zero or nil means disable auto-saving due to idleness. After auto-saving due to this many seconds of idle time, Emacs also does a garbage collection if that seems to be warranted.
Probably introduced at or before Emacs version 19.1.
Source Code
// Defined in /usr/src/emacs/src/keyboard.c
DEFVAR_LISP ("auto-save-timeout", Vauto_save_timeout,
doc: /* Number of seconds idle time before auto-save.
Zero or nil means disable auto-saving due to idleness.
After auto-saving due to this many seconds of idle time,
Emacs also does a garbage collection if that seems to be warranted. */);