Remove `member-if' compiler macro.
authorDave Love <fx@gnu.org>
Wed, 23 Aug 2000 14:41:06 +0000 (14:41 +0000)
committerDave Love <fx@gnu.org>
Wed, 23 Aug 2000 14:41:06 +0000 (14:41 +0000)
lisp/dgnushack.el

index f20cdf8..7d03652 100644 (file)
             (setq arg (cdr arg)))
           (apply (function nconc) (nreverse res))))))
 
-  (define-compiler-macro member-if (&whole form pred list)
-    (if (and (fboundp 'member-if)
-            (subrp (symbol-function 'member-if)))
-       form
-      `(let ((fn ,pred)
-            (seq ,list))
-        (while (and seq
-                    (not (funcall fn (car seq))))
-          (pop seq))
-        seq)))
-
   (define-compiler-macro union (&whole form list1 list2)
     (if (and (fboundp 'union)
             (subrp (symbol-function 'union)))