Mercurial > emacs
changeset 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 | 02751f3ecbdd |
children | f2db4e8bb6ed |
files | lisp/frame.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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))