1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-23 10:34:07 +00:00

(format-annotate-function): Set write-region-post-annotation-function.

This commit is contained in:
Chong Yidong 2009-01-22 04:54:35 +00:00
parent ae12425c9d
commit 1d1cf99f75

View 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))