The function insert-file-contents
:
format-alist
; and
after-insert-file-functions
.
The function write-region
:
write-region-annotate-functions
;
format-alist
;
This shows the symmetry of the lowest-level operations; reading and writing handle things in opposite order. The rest of this section describes the two facilities surrounding the three variables named above, as well as some related functions. Coding Systems, for details on character encoding and decoding.