]> git.eshelyaron.com Git - emacs.git/commit
Deprecate with-displayed-buffer-window, use body-function instead (bug#39822)
authorJuri Linkov <juri@linkov.net>
Sun, 29 Mar 2020 22:57:36 +0000 (01:57 +0300)
committerJuri Linkov <juri@linkov.net>
Sun, 29 Mar 2020 22:57:36 +0000 (01:57 +0300)
commit3273e2ace788a58bef77cef936021d151815ea94
tree0bb97e42c356ba9fee04879fc9f439634819252a
parent7a6f5a5167037cdc3a0e9e312393781daedec085
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.
doc/lispref/display.texi
doc/lispref/windows.texi
etc/NEWS
lisp/dired.el
lisp/files.el
lisp/minibuffer.el
lisp/window.el