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 _ _ BUFFER)

Documentation

Attempt to autojoin channels in a server BUFFER.

Expect to run on a timer after erc-autojoin-delay seconds when erc-autojoin-timing is the symbol ident.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-join.el.gz
(defun erc-autojoin-channels-delayed (_ _ buffer)
  "Attempt to autojoin channels in a server BUFFER.
Expect to run on a timer after `erc-autojoin-delay' seconds when
`erc-autojoin-timing' is the symbol `ident'."
  (when (buffer-live-p buffer)
    (with-current-buffer buffer
      (cl-assert (erc--server-buffer-p))
      (when erc--autojoin-timer
        (cancel-timer erc--autojoin-timer)
        (setq erc--autojoin-timer nil))
      ;; This log message is likely supposed to indicate that
      ;; `erc-nickserv-identified-hook' did not yet run, assuming the
      ;; services module is active.
      (erc-log "Delayed autojoin started (no ident success detected yet)")
      (erc-autojoin--join))))