summaryrefslogtreecommitdiff
path: root/lisp/window.el
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2016-10-17 08:57:24 +0200
committerMartin Rudalics <rudalics@gmx.at>2016-10-17 08:57:24 +0200
commit665ee0a56551ad897a9e5092ebc91728c98a2d43 (patch)
treee7460cc6f3a6832a00ddbdd585a7a30e077b3b6f /lisp/window.el
parentc06a518b5b0706509252abb03875867b10a92fc7 (diff)
downloademacs-665ee0a56551ad897a9e5092ebc91728c98a2d43.tar.gz
Document atomic windows in Elisp manual (Bug#18170)
* lisp/window.el (display-buffer-in-atom-window): If no `side' alist entry was specified, use `below' as the doc tells. * doc/lispref/elisp.texi (Atomic Windows): Add menu entry. * doc/lispref/windows.texi (Atomic Windows): New section. (Window Parameters): Update reference.
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 dea0b250a94..da3691e6261 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -651,7 +651,7 @@ failed."
(window-combination-limit t)
(window-combination-resize 'atom)
(window (cdr (assq 'window alist)))
- (side (cdr (assq 'side alist)))
+ (side (or (cdr (assq 'side alist)) 'below))
(atom (when window (window-parameter window 'window-atom)))
root new)
(setq window (window-normalize-window window))