summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/frame.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/frame.el b/lisp/frame.el
index bd63f9f46d1..a364d7f491b 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -612,7 +612,13 @@ You cannot specify either `width' or `height', you must use neither or both.
Before the frame is created (via `frame-creation-function'), functions on the
hook `before-make-frame-hook' are run. After the frame is created, functions
-on `after-make-frame-functions' are run with one arg, the newly created frame."
+on `after-make-frame-functions' are run with one arg, the newly created frame.
+
+This function itself does not make the new frame the selected frame.
+The previously selected frame remains selected. However, the
+window system may select the new frame for its own reasons, for
+instance if the frame appears under the mouse pointer and your
+setup is for focus to follow the pointer."
(interactive)
(run-hooks 'before-make-frame-hook)
(let ((frame (funcall frame-creation-function parameters)))