martin rudalics writes: > We can abuse ‘frame-after-make-frame’. Try the attached, completely > untested patch. > > BTW I just noticed that we still run ‘window-configuration-change-hook’ > in far too many cases. (defmacro with-inhibit-window-configuration-change-hook (frame &rest body) "Inhibit `window-configuration-change-hook' on FRAME in BODY." (declare (indent 1) (debug t)) (let ((frame-var (make-symbol "frame"))) `(let ((,frame-var (window-normalize-frame ,frame))) (unwind-protect (progn (frame-after-make-frame ,frame-var nil) ,@body) (frame-after-make-frame ,frame-var t))))) > Would my patch work around that? It seems to inhibit running the hook, but there is still the case of set-window-start in window--state-put-2. Using the NOFORCE works, but I don't know the implications of this in other cases.