Facultatively ignore margins when splitting and resizing windows (Bug#24193)
commit0cee66c3f1e92702774e670b32f3dded1a4c3957
authorMartin Rudalics <rudalics@gmx.at>
Tue, 16 Aug 2016 07:19:18 +0000 (16 09:19 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 16 Aug 2016 07:19:18 +0000 (16 09:19 +0200)
tree335ba8ef62c700295ef8a78228b3bd59e0f30283
parent8d681476bd44a2f843030579a5bbf5a248488afb
Facultatively ignore margins when splitting and resizing windows (Bug#24193)

Provide a new window parameter 'min-margins' which allows to
ignore the actual widths of a window's margins when splitting or
resizing that window horizontally.  This should serve as a
workaround for handling the problems raised by Bug#24193.

* lisp/window.el (window--min-size-1): Handle new window
parameter 'min-margins'.
(split-window): Fix text of error messages.
* doc/lispref/windows.texi (Window Parameters): Describe new
parameter 'min-margins'.
doc/lispref/windows.texi
lisp/window.el