+1998-10-17 Tanaka Akira <morioka@jaist.ac.jp>
+
+ * broken.el (check-broken-facility): New macro.
+
1998-10-16 MORIOKA Tomohiko <morioka@jaist.ac.jp>
* poe.el (define-obsolete-function-alias): New function.
(unless (broken-p facility)
`(progn . ,body)))
+(defmacro check-broken-facility (facility)
+ "Check FACILITY is broken or not. If the status is different on
+compile(macro expansion) time and run time, warn it."
+ `(if-broken ,facility
+ (unless (broken-p ',facility)
+ (message "COMPILE TIME ONLY BROKEN FACILITY DETECTED: %s"
+ (broken-facility-description ',facility)))
+ (when (broken-p ',facility)
+ (message "RUN TIME ONLY BROKEN FACILITY DETECTED: %s"
+ (broken-facility-description ',facility)))))
+
;;; @ end
;;;