# HG changeset patch # User Chong Yidong # Date 1232600000 0 # Node ID ff042371b9ba3927e43c44fab5c962a30245522f # Parent 235db5e6b83dd6005e201fffb25e671e94834d03 Document write-region-annotate-functions changes. diff -r 235db5e6b83d -r ff042371b9ba etc/NEWS --- a/etc/NEWS Thu Jan 22 04:52:49 2009 +0000 +++ b/etc/NEWS Thu Jan 22 04:53:20 2009 +0000 @@ -339,6 +339,14 @@ 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