Function: tempel--print-template
tempel--print-template is a natively compiled function defined in
tempel.el.
Signature
(tempel--print-template TEMPLATE)
Documentation
Print TEMPLATE.
Source Code
;; Defined in /nix/store/b3ibjbs2i12kyhwapibfx6i39f025i85-emacs-packages-deps/share/emacs/site-lisp/elpa/tempel-20260705.1258/tempel.el
(defun tempel--print-template (template)
"Print TEMPLATE."
(cl-loop
for elt in template until (keywordp elt) collect
(pcase elt
('nil "")
((pred stringp) elt)
(`(s ,name) (symbol-name name))
(`(,(or 'p 'P) ,_ ,name . ,noinsert)
(and (not (car noinsert)) (symbol-name name)))
('> " ")
('n> "\n ")
((or 'n '& '% 'o) "\n")
(_ #("_" 0 1 (face shadow))))
into result finally return (apply #'concat result)))