Function: drop-while

drop-while is a byte-compiled function defined in compat-31.el.

Signature

(drop-while PRED LIST)

Documentation

[Compatibility function for drop-while, defined in Emacs 31.0.50. See (compat)
Emacs 31.0.50' for more details.]

Skip initial elements of LIST satisfying PRED and return the rest.

Source Code

;; Defined in ~/.emacs.d/elpa/compat-31.0.0.2/compat-31.el
(compat-defun drop-while (pred list) ;; <compat-tests:drop-while>
  "Skip initial elements of LIST satisfying PRED and return the rest."
  (while (and list (funcall pred (car list)))
    (setq list (cdr list)))
  list)