Subject: bug#32720: term-mode ignores certain window size changes

From: martin rudalics <[email-masked]>
Date: Mon, 19 Nov 2018 16:14:49 +0100

> What should I be testing exactly?

In window.el remove the

;; Remove the following call in Emacs 27, running
;; 'window-size-change-functions' should suffice.
(add-hook 'window-configuration-change-hook 'window--adjust-process-windows)

lines as in the attached patch.

martin
diff --git a/lisp/window.el b/lisp/window.el
index f252b0e..a5a865e 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -9287,10 +9287,6 @@ window--adjust-process-windows
               (when size
                 (set-process-window-size process (cdr size) (car size))))))))))
 
-;; Remove the following call in Emacs 27, running
-;; 'window-size-change-functions' should suffice.
-(add-hook 'window-configuration-change-hook 'window--adjust-process-windows)
-
 ;; Catch any size changes not handled by
 ;; 'window-configuration-change-hook' (Bug#32720, "another issue" in
 ;; Bug#33230).