| 1 | Fix failed startup when resizing. |
| 2 | |
| 3 | From http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23369 |
| 4 | and will hopefully be in the next emacs upstream version. |
| 5 | |
| 6 | diff -u -r ../emacs-25.0.93/lisp/window.el ./lisp/window.el |
| 7 | --- ../emacs-25.0.93/lisp/window.el 2016-04-22 08:17:00.000000000 -0400 |
| 8 | +++ ./lisp/window.el 2016-04-28 08:44:26.318178636 -0400 |
| 9 | @@ -8520,6 +8520,7 @@ |
| 10 | displaying that processes's buffer." |
| 11 | (let ((processes (process-list)) |
| 12 | (process-windows nil)) |
| 13 | + (when processes |
| 14 | (walk-windows |
| 15 | (lambda (window) |
| 16 | (let ((buffer (window-buffer window)) |
| 17 | @@ -8538,7 +8539,7 @@ |
| 18 | nil) |
| 19 | (setf iter (cdr iter))))))) |
| 20 | 1 t) |
| 21 | - process-windows)) |
| 22 | + process-windows))) |
| 23 | |
| 24 | (defun window--adjust-process-windows () |
| 25 | "Update process window sizes to match the current window configuration." |