Variable: save-buffer-coding-system

save-buffer-coding-system is a buffer-local variable defined in files.el.gz.

Documentation

If non-nil, use this coding system for saving the buffer.

More precisely, use this coding system in place of the value of buffer-file-coding-system, when saving the buffer. Calling write-region for any purpose other than saving the buffer will still use buffer-file-coding-system; this variable has no effect in such cases.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/files.el.gz
(defvar-local save-buffer-coding-system nil
  "If non-nil, use this coding system for saving the buffer.
More precisely, use this coding system in place of the
value of `buffer-file-coding-system', when saving the buffer.
Calling `write-region' for any purpose other than saving the buffer
will still use `buffer-file-coding-system'; this variable has no effect
in such cases.")