summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/cus-face.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/cus-face.el b/lisp/cus-face.el
index 1d986d42ea7..8b9ed38641c 100644
--- a/lisp/cus-face.el
+++ b/lisp/cus-face.el
@@ -30,6 +30,10 @@
;;; Code:
+(defalias 'custom-facep
+ (if (fboundp 'facep) 'facep
+ '(lambda (face) nil)))
+
;;; Declaring a face.
;;;###autoload