summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/derived.el
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2017-10-23 09:05:32 +0100
committerJoão Távora <joaotavora@gmail.com>2017-11-03 16:13:37 +0000
commit5d34e1b2881caa5743816030c2e9cdcda58e9719 (patch)
tree99f29ab30b1c0b90f33ea397093724914587306e /lisp/emacs-lisp/derived.el
parent2a973edeacefcabb9fd8024188b7e167f0f9a9b6 (diff)
downloademacs-5d34e1b2881caa5743816030c2e9cdcda58e9719.tar.gz
emacs-5d34e1b2881caa5743816030c2e9cdcda58e9719.tar.bz2
emacs-5d34e1b2881caa5743816030c2e9cdcda58e9719.zip
Allow split-window-sensibly to split threshold in further edge case
As a fallback, and to avoid creating a frame, split-window-sensibly would previously disregard split-height-threshold if the window to be split is the frame's root window. This change generalizes that: it disregards the threshold if the window to be split is the frame's only _usable_ window (it is either the only one, as before, or all the other windows are dedicated to some buffer and thus cannot be touched). This is required for the fix to bug#28814. * lisp/window.el (split-height-threshold): Adjust doc to match split-window-sensibly. (split-window-sensibly): Also disregard threshold if all other windows are dedicated.
Diffstat (limited to 'lisp/emacs-lisp/derived.el')
0 files changed, 0 insertions, 0 deletions