File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2929
3030; ;;; Defined in subr.el
3131
32- (compat-defun take-while (pred list )
32+ (compat-defun take-while (pred list ) ; ; <compat-tests:take-while>
3333 " Return the longest prefix of LIST whose elements satisfy PRED."
3434 (let ((r nil ))
3535 (while (and list (funcall pred (car list )))
3636 (push (car list ) r)
3737 (setq list (cdr list )))
3838 (nreverse r)))
3939
40- (compat-defun drop-while (pred list )
40+ (compat-defun drop-while (pred list ) ; ; <compat-tests:drop-while>
4141 " Skip initial elements of LIST satisfying PRED and return the rest."
4242 (while (and list (funcall pred (car list )))
4343 (setq list (cdr list )))
4444 list )
4545
46- (compat-defun all (pred list )
46+ (compat-defun all (pred list ) ; ; <compat-tests:all>
4747 " Non-nil if PRED is true for all elements in LIST."
4848 (not (drop-while pred list )))
4949
50- (compat-defun any (pred list )
50+ (compat-defun any (pred list ) ; ; <compat-tests:any>
5151 " Non-nil if PRED is true for at least one element in LIST.
5252Returns the LIST suffix starting at the first element that satisfies PRED,
5353or nil if none does."
You can’t perform that action at this time.
0 commit comments