Variable: time-stamp-active
time-stamp-active is a customizable variable defined in
time-stamp.el.gz.
Value
t
Documentation
Non-nil enables time-stamping of buffers by M-x time-stamp (time-stamp).
Can be toggled by M-x time-stamp-toggle-active (time-stamp-toggle-active) as an easy way to
temporarily disable time-stamp while saving a file.
This option does not affect when time-stamp is run, only what it
does when it runs. To activate automatic time-stamping of buffers
when they are saved, either add this line to your init file:
(add-hook 'before-save-hook 'time-stamp)
or customize option before-save-hook.
To enable automatic time-stamping for only a specific file, add this
line to a local variables list near the end of the file:
eval: (add-hook 'before-save-hook 'time-stamp nil t)
See also the variable time-stamp-warn-inactive.
Probably introduced at or before Emacs version 19.16.
Source Code
;; Defined in /usr/src/emacs/lisp/time-stamp.el.gz
;;;###autoload(put 'time-stamp-format 'safe-local-variable #'stringp)
(defcustom time-stamp-active t
"Non-nil enables time-stamping of buffers by \\[time-stamp].
Can be toggled by \\[time-stamp-toggle-active] as an easy way to
temporarily disable `time-stamp' while saving a file.
This option does not affect when `time-stamp' is run, only what it
does when it runs. To activate automatic time-stamping of buffers
when they are saved, either add this line to your init file:
(add-hook \\='before-save-hook \\='time-stamp)
or customize option `before-save-hook'.
To enable automatic time-stamping for only a specific file, add this
line to a local variables list near the end of the file:
eval: (add-hook \\='before-save-hook \\='time-stamp nil t)
See also the variable `time-stamp-warn-inactive'."
:type 'boolean)