+2008-03-29 Juri Linkov <juri@jurta.org>
+
+ * window.el (split-window-preferred-horizontally): New function.
+
+ * cus-start.el (split-window-preferred-function):
+ Set choice for "vertically" to nil instead of split-window.
+ Set choice for "horizontally" to split-window-preferred-horizontally
+ instead of lambda.
+
2008-03-29 Juri Linkov <juri@jurta.org>
* simple.el (minibuffer-default-add-function): New variable with
(split-height-threshold windows integer)
(split-window-preferred-function
windows
- (choice (const :tag "vertically" split-window)
+ (choice (const :tag "vertically" nil)
;; FIXME: Add `sensibly' which chooses between
;; vertical or horizontal splits depending on the size
;; and shape of the window.
(const :tag "horizontally"
- (lambda (window)
- (split-window window nil 'horiz))))
+ split-window-preferred-horizontally))
"23.1")
(window-min-height windows integer)
(window-min-width windows integer)