Automatically adjust process window sizes
commit165bea78008ec7545698f2e893821b4090f20c79
authorDaniel Colascione <dancol@dancol.org>
Mon, 23 Mar 2015 04:09:21 +0000 (22 21:09 -0700)
committerDaniel Colascione <dancol@dancol.org>
Mon, 23 Mar 2015 04:09:32 +0000 (22 21:09 -0700)
treef072ca921e38c2fa91754d0386025c592367a56c
parentf4c23f458367769ba9a701792fa5720e58827fb4
Automatically adjust process window sizes

* lisp/window.el (window-adjust-process-window-size-function): New
customizable variable.
(window-adjust-process-window-size)
(window-adjust-process-window-size-smallest)
(window-adjust-process-window-size-largest)
(window--process-window-list, window--adjust-process-windows):
New functions.
(window-configuration-change-hook): Add
`window--adjust-process-windows'.
* lisp/term.el (term-mode): Observe result of
`window-adjust-process-window-size-function'.
(term-check-size): Delete.
lisp/ChangeLog
lisp/term.el
lisp/window.el