summaryrefslogtreecommitdiff
path: root/etc/NEWS
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2023-12-09 18:38:35 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2023-12-16 13:13:15 -0500
commit3eb421bda38981dbb08c3342833b1c7156156469 (patch)
tree648d1b6b56d99aa0e3bb1628634a14ae30a3e934 /etc/NEWS
parent127de202b83f841b9f73ed6142c9e369addb18f3 (diff)
downloademacs-3eb421bda38981dbb08c3342833b1c7156156469.tar.gz
(display-buffer): New `pop-up-frames` action alist entry
Allow overriding the `pop-up-frames` variable from `display-buffer-alist` so as to provide a worthy replacement for the old `same-frame` parameter of `special-display-*` (bug#67249). * lisp/window.el (special-display-popup-frame): Declare obsolete; that was apparently forgotten back when `special-display-*` variables were declared obsolete. Use the new `pop-up-frames` action alist entry instead of the variable. (display-buffer): Document new alist entry. (window--pop-up-frames): New function. (display-buffer--maybe-pop-up-frame, display-buffer-in-previous-window) (display-buffer-reuse-window, display-buffer-reuse-mode-window): Use it. * doc/lispref/windows.texi (Choosing Window Options): Mention that `pop-up-frames` is also an action alist entry. (Buffer Display Action Alists): Add `pop-up-frames` entry.
Diffstat (limited to 'etc/NEWS')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 60391cf..060d1a2 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1289,6 +1289,10 @@ values.
* Lisp Changes in Emacs 30.1
+** New 'pop-up-frames' action alist entry for 'display-buffer'.
+This has the same effect as the variable of the same name and takes
+precedence over the variable when present.
+
** New function 'merge-ordered-lists'.
Mostly used internally to do a kind of topological sort of
inheritance hierarchies.