Fix some more display-buffer related bugs.
authorMartin Rudalics <rudalics@gmx.at>
Sun, 26 Jun 2011 16:17:30 +0000 (18:17 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Sun, 26 Jun 2011 16:17:30 +0000 (18:17 +0200)
commit355f2e07082d7fc4d30cd0c1fab444799db6d6a7
treee7d33a894e7ac8100ee8412dfa48ebdb2635faf6
parent60a0884e784668ab9cb0f6c984803efccdecce53
Fix some more display-buffer related bugs.

* window.el (display-buffer-normalize-argument): Rename to
display-buffer-normalize-arguments.  Handle special meaning of
LABEL argument.  Respect special-display-function when popping
up a new frame.  Fix code searching for a window showing the
buffer on another frame.
(display-buffer-normalize-specifiers): Call
display-buffer-normalize-arguments.
(display-buffer-in-window): Don't undedicate the window if its
buffer remains the same.
Reported by Drew Adams <drew.adams@oracle.com>.
(display-buffer-alist): Add choice for same-window macro
specfier.
(display-buffer): Mention special meaning of LABEL argument in
doc-string.  Fix quoting.  Don't pop up a new frame even as
fallback.
lisp/ChangeLog
lisp/window.el