Function: erc-insert-aligned

erc-insert-aligned is a byte-compiled function defined in erc-stamp.el.gz.

Signature

(erc-insert-aligned STRING POS)

Documentation

Insert STRING at the POSth column.

If erc-timestamp-use-align-to is t, use the :align-to display property to get to the POSth column.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-stamp.el.gz
(defun erc-insert-aligned (string pos)
  "Insert STRING at the POSth column.

If `erc-timestamp-use-align-to' is t, use the :align-to display
property to get to the POSth column."
  (if (not erc-timestamp-use-align-to)
      (indent-to pos)
    (insert " ")
    (put-text-property (1- (point)) (point) 'display
		       (list 'space ':align-to pos)))
  (insert string))