]> git.eshelyaron.com Git - emacs.git/commitdiff
(format-annotate-function): Set write-region-post-annotation-function.
authorChong Yidong <cyd@stupidchicken.com>
Thu, 22 Jan 2009 04:54:35 +0000 (04:54 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 22 Jan 2009 04:54:35 +0000 (04:54 +0000)
lisp/format.el

index 34545810c56aa40f533bbfcfaacdefd8f676e69a..27253a2c47ddbdbd888fd4810a885cdf53290e00 100644 (file)
@@ -218,6 +218,9 @@ For most purposes, consider using `format-encode-region' instead."
                  (multibyte enable-multibyte-characters)
                  (coding-system buffer-file-coding-system))
              (with-current-buffer copy-buf
+               (set (make-local-variable
+                     'write-region-post-annotation-function)
+                    'kill-buffer)
                (setq selective-display sel-disp)
                (set-buffer-multibyte multibyte)
                (setq buffer-file-coding-system coding-system))