Variable: erc-insert-timestamp-function

erc-insert-timestamp-function is a customizable variable defined in erc-stamp.el.gz.

Value

erc-insert-timestamp-left-and-right

Documentation

Function to use to insert timestamps.

It takes a single argument STRING which is the final string which all text-properties already appended. This function only cares about inserting this string at the right position. Narrowing is in effect while it is called, so (point-min) and (point-max) determine the region to operate on.

You will probably want to set erc-insert-away-timestamp-function to the same value.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-stamp.el.gz
(defcustom erc-insert-timestamp-function 'erc-insert-timestamp-left-and-right
  "Function to use to insert timestamps.

It takes a single argument STRING which is the final string
which all text-properties already appended.  This function only cares about
inserting this string at the right position.  Narrowing is in effect
while it is called, so (point-min) and (point-max) determine the region to
operate on.

You will probably want to set
`erc-insert-away-timestamp-function' to the same value."
  :type '(choice (const :tag "Both sides" erc-insert-timestamp-left-and-right)
		 (const :tag "Right" erc-insert-timestamp-right)
		 (const :tag "Left" erc-insert-timestamp-left)
		 function))