From: Chong Yidong Date: Thu, 22 Jan 2009 04:53:20 +0000 (+0000) Subject: Document write-region-annotate-functions changes. X-Git-Tag: emacs-pretest-23.0.90~323 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=70039c86fd36044b77dfaf40c01f4d8ce878be7a;p=emacs.git Document write-region-annotate-functions changes. --- diff --git a/etc/NEWS b/etc/NEWS index 5564fe01f8e..13168722656 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -339,6 +339,14 @@ norwegian-alt-postfix, scandinavian-alt-postfix, spanish-alt-postfix, and swedish-alt-postfix. Use the versions without "alt-", which are identical. ++++ +** If a function in write-region-annotate-functions returns with a +different buffer current, Emacs no longer kills that buffer +automatically. This behavior existed in previous versions of Emacs, +but was undocumented. To kill a buffer after write-region, give the +variable `write-region-post-annotation-function' a buffer-local value +of `kill-buffer'. + * Editing Changes in Emacs 23.1