changeset 101342:ff042371b9ba

Document write-region-annotate-functions changes.
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 22 Jan 2009 04:53:20 +0000
parents 235db5e6b83d
children 73eab117e42c
files etc/NEWS
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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