Document write-region-annotate-functions changes.
authorChong Yidong <cyd@stupidchicken.com>
Thu, 22 Jan 2009 04:53:20 +0000 (04:53 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 22 Jan 2009 04:53:20 +0000 (04:53 +0000)
etc/NEWS

index 5564fe0..1316872 100644 (file)
--- 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'.
+
 \f
 * Editing Changes in Emacs 23.1