Function: f-append-text

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

Signature

(f-append-text TEXT CODING PATH)

Documentation

Append TEXT with CODING to PATH.

If PATH does not exist, it is created.

Other relevant functions are documented in the f group.

Shortdoc

;; f
(f-append-text "Hello world" 'utf-8 "path/to/file.txt")
    -> [it depends]
  (f-append "Hello world" 'utf-8 "path/to/file.txt")
    -> [it depends]

Aliases

f-append

Source Code

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

If PATH does not exist, it is created."
  (f-append-bytes (encode-coding-string text coding) path))