Function: queue-nth

queue-nth is a byte-compiled function defined in queue.el.

Signature

(queue-nth QUEUE N)

Documentation

Return the nth element of a queue, without removing it.

If the length of the queue is less than N, return nil. The first element in the queue has index 0.

Source Code

;; Defined in ~/.emacs.d/elpa/queue-0.2/queue.el
(defun queue-nth (queue n)
  "Return the nth element of a queue, without removing it.
If the length of the queue is less than N, return nil. The first
element in the queue has index 0."
  (nth n (queue-head queue)))