From b092a1345b850909a53f63373c4c1d18b641b243 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 14 Apr 1997 03:05:04 +0000 Subject: [PATCH] (make-frame): Call custom-initialize-frame only if cus-face is loaded. --- lisp/frame.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/frame.el b/lisp/frame.el index 1396aa11785..ddd565602b5 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -458,7 +458,8 @@ on `after-make-frame-functions' are run with one arg, the newly created frame." (interactive) (run-hooks 'before-make-frame-hook) (let ((frame (funcall frame-creation-function parameters))) - (custom-initialize-frame frame) + (if (featurep 'cus-face) + (custom-initialize-frame frame)) (run-hook-with-args 'after-make-frame-functions frame) frame)) -- 2.39.5