Function: s-chop-prefixes

s-chop-prefixes is a byte-compiled function defined in s.el.

Signature

(s-chop-prefixes PREFIXES S)

Documentation

Remove PREFIXES one by one in order, if they are at the start of S.

Source Code

;; Defined in ~/.emacs.d/elpa/s-20220902.1511/s.el
(defun s-chop-prefixes (prefixes s)
  "Remove PREFIXES one by one in order, if they are at the start of S."
  (declare (pure t) (side-effect-free t))
  (while prefixes
    (setq s (s-chop-prefix (car prefixes) s))
    (setq prefixes (cdr prefixes)))
  s)