Function: hproperty:list-cycle

hproperty:list-cycle is a byte-compiled function defined in hproperty.el.

Signature

(hproperty:list-cycle LIST-PTR LIST)

Documentation

Move LIST-PTR to next element in LIST or when at end to first element.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hproperty.el
;;; ************************************************************************
;;; Private functions
;;; ************************************************************************

(defsubst hproperty:list-cycle (list-ptr list)
  "Move LIST-PTR to next element in LIST or when at end to first element."
  (or (and list-ptr (setq list-ptr (cdr list-ptr)))
      (setq list-ptr list)))