Function: ring-size

ring-size is a byte-compiled function defined in ring.el.gz.

Signature

(ring-size RING)

Documentation

Return the size of RING, the maximum number of elements it can contain.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/ring.el.gz
(defun ring-size (ring)
  "Return the size of RING, the maximum number of elements it can contain."
  (length (cddr ring)))