summaryrefslogtreecommitdiff
path: root/lisp/window.el
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2011-12-13 14:37:48 +0100
committerMartin Rudalics <rudalics@gmx.at>2011-12-13 14:37:48 +0100
commit454592a615ac4d86a6ce594945487642be5013d7 (patch)
tree44ff04a72dfdb9acf478954bafcb53eea3c9db2b /lisp/window.el
parent87393f2618610b11f406db76f41677475bec41cc (diff)
downloademacs-454592a615ac4d86a6ce594945487642be5013d7.tar.gz
Minor fixes in window handling code and docs.
* window.c (Vwindow_combination_resize) (Vwindow_combination_limit): Use t instead of non-nil in doc-strings. * window.el (delete-other-windows): Use correct frame in call to window-with-parameter. * windows.texi (Splitting Windows): Use t instead of non-nil when describing window-combination-resize.
Diffstat (limited to 'lisp/window.el')
-rw-r--r--lisp/window.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/window.el b/lisp/window.el
index 4838dfa7969..dcf7394b204 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -2455,7 +2455,7 @@ window signal an error."
(throw 'done (delete-other-windows atom-root)))
((eq window-side 'none)
;; Set side-main to the major non-side window.
- (setq side-main (window-with-parameter 'window-side 'none nil t)))
+ (setq side-main (window-with-parameter 'window-side 'none frame t)))
((memq window-side window-sides)
(error "Cannot make side window the only window")))
;; If WINDOW is the main non-side window, do nothing.