diff options
| author | Juri Linkov | 2020-03-30 01:57:36 +0300 |
|---|---|---|
| committer | Juri Linkov | 2020-03-30 01:57:36 +0300 |
| commit | 3273e2ace788a58bef77cef936021d151815ea94 (patch) | |
| tree | 0bb97e42c356ba9fee04879fc9f439634819252a /etc | |
| parent | 7a6f5a5167037cdc3a0e9e312393781daedec085 (diff) | |
| download | emacs-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -266,6 +266,10 @@ It was used to allow loading Lisp libraries compiled by XEmacs, a | |||
| 266 | modified version of Emacs which is no longer actively maintained. | 266 | modified version of Emacs which is no longer actively maintained. |
| 267 | This is no longer supported, and setting this variable has no effect. | 267 | This is no longer supported, and setting this variable has no effect. |
| 268 | 268 | ||
| 269 | +++ | ||
| 270 | ** The macro 'with-displayed-buffer-window' is now obsolete. | ||
| 271 | Use 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 | ||