Make Temp Buffer Resize Mode less intrusive (Bug#1806).
authorMartin Rudalics <rudalics@gmx.at>
Sat, 22 Sep 2012 12:56:08 +0000 (14:56 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Sat, 22 Sep 2012 12:56:08 +0000 (14:56 +0200)
commit8e17c9ba1443c2f21c5801f0c4660ac08dccc837
tree440766cd6249af19144f114626180568c5ece697
parentaa1fe812d3e77ed65a5226a42e5dc081eab22b18
Make Temp Buffer Resize Mode less intrusive (Bug#1806).

* window.c (Fsplit_window_internal): Handle only Qt value of
Vwindow_combination_limit separately.
(Qtemp_buffer_resize): New symbol.
(Vwindow_combination_limit): New default value.  Rewrite
doc-string.
* cus-start.el (window-combination-limit): Add new optional
values.
* window.el (temp-buffer-window-show)
(window--try-to-split-window): Obey new values of
window-combination-limit.
(split-window): Test window-combination-limit for t instead of
non-nil.
(display-buffer-at-bottom): New buffer display action function.
* help.el (temp-buffer-resize-regexps): New option.
(temp-buffer-resize-mode): Rewrite doc-string.
(resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
Don't resize reused window.  Suggested by Glen Morris.
etc/NEWS
lisp/ChangeLog
lisp/cus-start.el
lisp/help.el
lisp/window.el
src/ChangeLog
src/window.c