Commit 4133ab49 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(make-frame): Use before-make-frame-hook and after-make-frame-hook.

parent f3417b13
......@@ -319,7 +319,11 @@ of the following forms:
The documentation for the function `x-create-frame' describes
additional frame parameters that Emacs recognizes for X window frames."
(interactive)
(funcall frame-creation-function parameters))
(let ((nframe))
(run-hooks 'before-make-frame-hook)
(setq nframe (funcall frame-creation-function parameters))
(run-hooks 'after-make-frame-hook)
nframe))
(defun filtered-frame-list (predicate)
"Return a list of all live frames which satisfy PREDICATE."
......
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