From e1b26af7e61751ca3f8c866b5a46c8b85e21c8f8 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 1 Jun 2013 15:35:54 -0700 Subject: [PATCH] ns-win comment --- lisp/term/ns-win.el | 5 +++++ 1 file changed, 5 insertions(+) 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 () -- 2.39.2