Function: f-write-text

f-write-text is a byte-compiled function defined in f.el.

Signature

(f-write-text TEXT CODING PATH)

Documentation

Write TEXT with CODING to PATH.

TEXT is a multibyte string. CODING is a coding system to encode TEXT with. PATH is a file name to write to.

Aliases

f-write

Source Code

;; Defined in ~/.emacs.d/elpa/f-20241003.1131/f.el
(defun f-write-text (text coding path)
  "Write TEXT with CODING to PATH.

TEXT is a multibyte string.  CODING is a coding system to encode
TEXT with.  PATH is a file name to write to."
  (f-write-bytes (encode-coding-string text coding) path))