Function: treemacs--get-indentation--inliner
treemacs--get-indentation--inliner is a function defined in
treemacs-visuals.el.
Signature
(treemacs--get-indentation--inliner INLINE--FORM DEPTH)
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-visuals.el
;; Closure converted to defun by helpful.
(defun treemacs--get-indentation--inliner
(inline--form depth)
(ignore inline--form)
(catch 'inline--just-use
(let*
((exp depth)
(depth
(if
(macroexp-copyable-p exp)
exp
(make-symbol "depth")))
(body
(list 'progn
(list 'when
(list 'or
(list '>= depth
(list 'length 'treemacs--indentation-string-cache))
(list 'not
(list 'eq
(list 'car 'treemacs--indentation-string-cache-key)
'treemacs-indentation))
(list 'not
(list 'eq
(list 'cdr 'treemacs--indentation-string-cache-key)
'treemacs-indentation-string)))
(list 'treemacs--build-indentation-cache depth))
(list 'aref 'treemacs--indentation-string-cache depth))))
(if
(eq depth exp)
body
(macroexp-let*
(list
(list depth exp))
body)))))