Function: erc-stamp-mode

erc-stamp-mode is an interactive and byte-compiled function defined in erc-stamp.el.gz.

Signature

(erc-stamp-mode &optional ARG)

Documentation

Toggle ERC stamp mode.

With a prefix argument ARG, enable stamp if ARG is positive, and disable it otherwise. If called from Lisp, enable the mode if ARG is omitted or nil. This mode timestamps messages in the channel buffers.

Key Bindings

Aliases

erc-timestamp-mode

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-stamp.el.gz
;;;###autoload(autoload 'erc-timestamp-mode "erc-stamp" nil t)
(define-erc-module stamp timestamp
  "This mode timestamps messages in the channel buffers."
  ((add-hook 'erc-mode-hook #'erc-munge-invisibility-spec)
   (add-hook 'erc-insert-modify-hook #'erc-add-timestamp t)
   (add-hook 'erc-send-modify-hook #'erc-add-timestamp t))
  ((remove-hook 'erc-mode-hook #'erc-munge-invisibility-spec)
   (remove-hook 'erc-insert-modify-hook #'erc-add-timestamp)
   (remove-hook 'erc-send-modify-hook #'erc-add-timestamp)))