summaryrefslogtreecommitdiff
path: root/lisp/term/ns-win.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-06-01 15:35:54 -0700
committerGlenn Morris <rgm@gnu.org>2013-06-01 15:35:54 -0700
commite1b26af7e61751ca3f8c866b5a46c8b85e21c8f8 (patch)
tree891484b26cc0e9e0caaab5024fc6d7cac5c6bf71 /lisp/term/ns-win.el
parentf46305c86cd247b2396e73ce8bb064f69373834d (diff)
ns-win comment
Diffstat (limited to 'lisp/term/ns-win.el')
-rw-r--r--lisp/term/ns-win.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index 0d4d3aaa26b..0298ad81a34 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -558,6 +558,11 @@ unless the current buffer is a scratch buffer."
(other-frame -1))
;; If no position specified, make new frame offset by 25 from current.
+;; You'd think this was a window manager's job, but apparently without
+;; this, new frames open exactly on top of old ones (?).
+;; http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00988.html
+;; Note that AFAICS it is not documented that functions on
+;; before-make-frame-hook can access PARAMETERS.
(defvar parameters) ; dynamically bound in make-frame
(add-hook 'before-make-frame-hook
(lambda ()