Function: majutsu-template--call-with-self-binding
majutsu-template--call-with-self-binding is a natively compiled
function defined in majutsu-template.el.
Signature
(majutsu-template--call-with-self-binding NODE TYPE THUNK)
Documentation
Call THUNK with NODE/TYPE temporarily bound as current self.
If NODE is nil, call THUNK without changing the current binding.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-template.el
(defun majutsu-template--call-with-self-binding (node type thunk)
"Call THUNK with NODE/TYPE temporarily bound as current `self'.
If NODE is nil, call THUNK without changing the current binding."
(let ((majutsu-template--self-stack
(if node
(cons (majutsu-template--make-self-binding :node node :type type)
majutsu-template--self-stack)
majutsu-template--self-stack)))
(funcall thunk)))