(defun ede-menu-obj-of-class-p (class)
"Return non-nil if some member of `ede-object' is a child of CLASS."
(if (listp ede-object)
- (ede-or (mapcar (lambda (o) (obj-of-class-p o class)) ede-object))
+ (eval (cons 'or (mapcar (lambda (o) (obj-of-class-p o class)) ede-object)))
(obj-of-class-p ede-object class)))
(defun ede-build-forms-menu (menu-def)
(defmethod ede-map-any-target-p ((this ede-project) proc)
"For project THIS, map PROC to all targets and return if any non-nil.
Return the first non-nil value returned by PROC."
- (ede-or (ede-map-targets this proc)))
+ (eval (cons 'or (ede-map-targets this proc))))
\f
;;; Some language specific methods.
rs))
\f
-;;; Lame stuff
-;;
-(defun ede-or (arg)
- "Do `or' like stuff to ARG because you can't apply `or'."
- (while (and arg (not (car arg)))
- (setq arg (cdr arg)))
- arg)
-
-\f
;;; Debugging.
(defun ede-adebug-project ()