Function: erc--querypoll-get-length

erc--querypoll-get-length is a byte-compiled function defined in erc-notify.el.gz.

Signature

(erc--querypoll-get-length RING)

Documentation

Return the effective length of RING, discounting chan members.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-notify.el.gz
(defun erc--querypoll-get-length (ring)
  "Return the effective length of RING, discounting chan members."
  (let ((count 0))
    (dotimes (i (ring-length ring))
      (unless (erc--querypoll-target-in-chan-p (ring-ref ring i))
        (cl-incf count 1)))
    count))