aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov2020-03-30 01:57:36 +0300
committerJuri Linkov2020-03-30 01:57:36 +0300
commit3273e2ace788a58bef77cef936021d151815ea94 (patch)
tree0bb97e42c356ba9fee04879fc9f439634819252a /etc
parent7a6f5a5167037cdc3a0e9e312393781daedec085 (diff)
downloademacs-3273e2ace788a58bef77cef936021d151815ea94.tar.gz
emacs-3273e2ace788a58bef77cef936021d151815ea94.zip
Deprecate with-displayed-buffer-window, use body-function instead (bug#39822)
* doc/lispref/display.texi (Temporary Displays): Remove defmac with-displayed-buffer-window. * doc/lispref/windows.texi (Buffer Display Action Alists): Add body-function. * lisp/window.el (with-displayed-buffer-window): Declare macro obsolete. (window--display-buffer): Call 'body-function' after displaying the buffer. * lisp/dired.el (dired-mark-pop-up): * lisp/files.el (save-buffers-kill-emacs): * lisp/minibuffer.el (minibuffer-completion-help): Replace with-displayed-buffer-window with with-current-buffer-window and add action alist entry 'body-function' with former macro body.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index bb5f549a2e2..765a923bf77 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -266,6 +266,10 @@ It was used to allow loading Lisp libraries compiled by XEmacs, a
266modified version of Emacs which is no longer actively maintained. 266modified version of Emacs which is no longer actively maintained.
267This is no longer supported, and setting this variable has no effect. 267This is no longer supported, and setting this variable has no effect.
268 268
269+++
270** The macro 'with-displayed-buffer-window' is now obsolete.
271Use macro 'with-current-buffer-window' with action alist entry 'body-function'.
272
269 273
270* Lisp Changes in Emacs 28.1 274* Lisp Changes in Emacs 28.1
271 275