WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 867ba4c

Browse files
committed
Fix last commit
1 parent dc66a33 commit 867ba4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compat-31.el

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,25 @@
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.
5252
Returns the LIST suffix starting at the first element that satisfies PRED,
5353
or nil if none does."

0 commit comments

Comments
 (0)