Commit b092a134 authored by Richard M. Stallman's avatar Richard M. Stallman

(make-frame): Call custom-initialize-frame

only if cus-face is loaded.
parent 0a3fc8a2
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment