Function: ebrowse-cyclic-successor-in-string-list
ebrowse-cyclic-successor-in-string-list is a byte-compiled function
defined in ebrowse.el.gz.
Signature
(ebrowse-cyclic-successor-in-string-list STRING LIST)
Documentation
Return the item following STRING in LIST.
If STRING is the last element, return the first element as successor.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/ebrowse.el.gz
(defun ebrowse-cyclic-successor-in-string-list (string list)
"Return the item following STRING in LIST.
If STRING is the last element, return the first element as successor."
(or (nth (1+ (seq-position list string #'string=)) list)
(cl-first list)))