# HG changeset patch # User Richard M. Stallman # Date 860987104 0 # Node ID eec449c1f7745aa383fea26c1f5cf28e024c2418 # Parent 02751f3ecbdd82e039aab148e79be6d8cc915944 (make-frame): Call custom-initialize-frame only if cus-face is loaded. diff -r 02751f3ecbdd -r eec449c1f774 lisp/frame.el --- a/lisp/frame.el Mon Apr 14 03:00:06 1997 +0000 +++ b/lisp/frame.el Mon Apr 14 03:05:04 1997 +0000 @@ -458,7 +458,8 @@ (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))