Fix bug and rewrite display-buffer-split-window(-1).
commitbb02eb85e7115a639b68bd5da0b50d114112258e
authorMartin Rudalics <rudalics@gmx.at>
Mon, 15 Nov 2010 10:31:15 +0000 (15 11:31 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Mon, 15 Nov 2010 10:31:15 +0000 (15 11:31 +0100)
tree56496dca7777276f42c9bd2e40621f1ffca6b7de
parenta5388e19d737d9ab6d0c8ca567ff78dc05de03a6
Fix bug and rewrite display-buffer-split-window(-1).

* window.el (display-buffer-split-window-1): Remove max-size
argument and corresponding code.
(display-buffer-split-window): Remove handling of max-height and
max-width specifiers.  Restore the pre Emacs 24 behavior where a
single-window frame could be split ignoring the min-height
specifier (then split-height-threshold value).  For the
horizontal splitting, side equalling nil case call
display-buffer-split-window-1 with side argument set to 'right
instead of 'below, fixing a bug spotted by Å tÄ›pán NÄ›mec.
lisp/ChangeLog
lisp/window.el