Function: erc-stamp--date-ts

erc-stamp--date-ts is a byte-compiled function defined in erc-stamp.el.gz.

Signature

(erc-stamp--date-ts erc-stamp--date-ts X)

Documentation

Access slot "ts" of erc-stamp--date struct X.

Time recorded by erc-insert-timestamp-left-and-right.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-stamp.el.gz
;; This struct and its namesake variable exist to assist in testing.
(cl-defstruct erc-stamp--date
  "Data relevant to life cycle of date-stamp insertion."
  ( ts (error "Missing `ts' field") :type (or cons integer)
    :documentation "Time recorded by `erc-insert-timestamp-left-and-right'.")
  ( str (error "Missing `str' field") :type string
    :documentation "Stamp rendered by `erc-insert-timestamp-left-and-right'.")
  ( fn #'ignore :type (or null function)
    ;; Use `ignore' as a third state to mean the creation of a bespoke
    ;; date-insertion function has been requested but not completed.
    :documentation "Deferred insertion function created by post-modify hook.")
  ( marker (make-marker) :type marker
    :documentation "Insertion marker."))