diff options
author | Martin Rudalics <rudalics@gmx.at> | 2011-12-13 14:37:48 +0100 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2011-12-13 14:37:48 +0100 |
commit | 454592a615ac4d86a6ce594945487642be5013d7 (patch) | |
tree | 44ff04a72dfdb9acf478954bafcb53eea3c9db2b /lisp | |
parent | 87393f2618610b11f406db76f41677475bec41cc (diff) | |
download | emacs-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')
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/window.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 80eb82a521d..31533082b77 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-12-13 Martin Rudalics <rudalics@gmx.at> + + * window.el (delete-other-windows): Use correct frame in call to + window-with-parameter. + 2011-12-12 Daniel Pfeiffer <occitan@t-online.de> * progmodes/make-mode.el: Bring it up to date with makepp V2.0. 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. |