summaryrefslogtreecommitdiff
path: root/lisp/window.el
diff options
context:
space:
mode:
authorKenichi Handa <handa@gnu.org>2012-09-16 20:47:45 +0900
committerKenichi Handa <handa@gnu.org>2012-09-16 20:47:45 +0900
commitba13e6168a07a085c0ca8e67c91640b84ee0c1fd (patch)
treea63038205a6803ba06f5e17eda974c3ab23e57fb /lisp/window.el
parentdcbd9236f7be9da4e658fd559dfbd7454f4b6018 (diff)
parenta8c729af93b08531e5e3f3fff6f16a55c8baac3f (diff)
downloademacs-ba13e6168a07a085c0ca8e67c91640b84ee0c1fd.tar.gz
merge trunk
Diffstat (limited to 'lisp/window.el')
-rw-r--r--lisp/window.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/window.el b/lisp/window.el
index dd1f55450c3..fccb68bd94a 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -4551,6 +4551,9 @@ of the window used."
(function :tag "function"))
:group 'windows)
+(make-obsolete-variable 'display-buffer-function
+ 'display-buffer-alist "24.3")
+
;; Eventually, we want to turn this into a defvar; instead of
;; customizing this, the user should use a `pop-up-frame-parameters'
;; alist entry in `display-buffer-base-action'.
@@ -4768,8 +4771,8 @@ the selected window. If they contain (same-frame . t), display
BUFFER in a window of the selected frame.
If ARGS is a list whose car is a symbol, use (car ARGS) as a
-function to do the work. Pass it BUFFER as first argument,
-and (cdr ARGS) as second."
+function to do the work. Pass it BUFFER as first argument, and
+pass the elements of (cdr ARGS) as the remaining arguments."
(if (and args (symbolp (car args)))
(apply (car args) buffer (cdr args))
(let ((window (get-buffer-window buffer 0)))