Function: erc-autojoin-channels-delayed

erc-autojoin-channels-delayed is a byte-compiled function defined in erc-join.el.gz.

Signature

(erc-autojoin-channels-delayed SERVER NICK BUFFER)

Documentation

Attempt to autojoin channels.

This is called from a timer set up by erc-autojoin-channels.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-join.el.gz
(defun erc-autojoin-channels-delayed (server nick buffer)
  "Attempt to autojoin channels.
This is called from a timer set up by `erc-autojoin-channels'."
  (if erc--autojoin-timer
      (setq erc--autojoin-timer
	    (cancel-timer erc--autojoin-timer)))
  (with-current-buffer buffer
    ;; Don't kick of another delayed autojoin or try to wait for
    ;; another ident response:
    (let ((erc-autojoin-delay -1)
	  (erc-autojoin-timing 'connect))
      (erc-log "Delayed autojoin started (no ident success detected yet)")
      (erc-autojoin-channels server nick))))