Mercurial > emacs
diff lisp/frame.el @ 17444:eec449c1f774
(make-frame): Call custom-initialize-frame
only if cus-face is loaded.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 14 Apr 1997 03:05:04 +0000 |
parents | dd0216ff2358 |
children | b07426c50d99 |
line wrap: on
line diff
--- 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))