Function: tempel--file-read
tempel--file-read is a natively compiled function defined in
tempel.el.
Signature
(tempel--file-read FILE)
Documentation
Load templates from FILE.
Source Code
;; Defined in /nix/store/b3ibjbs2i12kyhwapibfx6i39f025i85-emacs-packages-deps/share/emacs/site-lisp/elpa/tempel-20260705.1258/tempel.el
(defun tempel--file-read (file)
"Load templates from FILE."
(with-temp-buffer
(insert "(\n")
(insert-file-contents file)
(goto-char (point-max))
(insert "\n)")
(goto-char (point-min))
(tempel--file-prepare (read (current-buffer)))))