Function: time-stamp-toggle-active
time-stamp-toggle-active is an autoloaded, interactive and
byte-compiled function defined in time-stamp.el.gz.
Signature
(time-stamp-toggle-active &optional ARG)
Documentation
Set time-stamp-active (whether M-x time-stamp (time-stamp) updates a buffer).
If ARG is unset, toggle time-stamp-active. With an arg, set
time-stamp-active to t (turning on time stamping) if
ARG is positive, otherwise nil.
Probably introduced at or before Emacs version 19.29.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/time-stamp.el.gz
;;;###autoload
(defun time-stamp-toggle-active (&optional arg)
"Set `time-stamp-active' (whether \\[time-stamp] updates a buffer).
If ARG is unset, toggle `time-stamp-active'. With an arg, set
`time-stamp-active' to t (turning on time stamping) if
ARG is positive, otherwise nil."
(interactive "P")
(setq time-stamp-active
(if (null arg)
(not time-stamp-active)
(> (prefix-numeric-value arg) 0)))
(message "time-stamp is now %s." (if time-stamp-active "active" "off")))