comparison lisp/frame.el @ 56528:b1b127f6d343

(make-frame): Doc fix.
author Luc Teirlinck <teirllm@auburn.edu>
date Sat, 24 Jul 2004 21:45:28 +0000
parents 8a0830a6f469
children 88d59be47588 4e92102a0172 c08afac24467
comparison
equal deleted inserted replaced
56527:1e634b993162 56528:b1b127f6d343
610 (minibuffer . only) The frame should contain only a minibuffer. 610 (minibuffer . only) The frame should contain only a minibuffer.
611 (minibuffer . WINDOW) The frame should use WINDOW as its minibuffer window. 611 (minibuffer . WINDOW) The frame should use WINDOW as its minibuffer window.
612 612
613 Before the frame is created (via `frame-creation-function'), functions on the 613 Before the frame is created (via `frame-creation-function'), functions on the
614 hook `before-make-frame-hook' are run. After the frame is created, functions 614 hook `before-make-frame-hook' are run. After the frame is created, functions
615 on `after-make-frame-functions' are run with one arg, the newly created frame." 615 on `after-make-frame-functions' are run with one arg, the newly created frame.
616
617 This function itself does not make the new frame the selected frame.
618 The previously selected frame remains selected. However, the
619 window system may select the new frame for its own reasons, for
620 instance if the frame appears under the mouse pointer and your
621 setup is for focus to follow the pointer."
616 (interactive) 622 (interactive)
617 (run-hooks 'before-make-frame-hook) 623 (run-hooks 'before-make-frame-hook)
618 (let ((frame (funcall frame-creation-function parameters))) 624 (let ((frame (funcall frame-creation-function parameters)))
619 (run-hook-with-args 'after-make-frame-functions frame) 625 (run-hook-with-args 'after-make-frame-functions frame)
620 frame)) 626 frame))