Function: treemacs--prefix-arg-to-recurse-depth
treemacs--prefix-arg-to-recurse-depth is a byte-compiled function
defined in treemacs-core-utils.el.
Signature
(treemacs--prefix-arg-to-recurse-depth ARG)
Documentation
Translates prefix ARG into a number.
Used for depth-based expansion of nodes - a numeric prefix will translate to itself, the default representation translates to 9999.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-core-utils.el
(define-inline treemacs--prefix-arg-to-recurse-depth (arg)
"Translates prefix ARG into a number.
Used for depth-based expansion of nodes - a numeric prefix will translate to
itself, the default representation translates to 9999."
(declare (pure t) (side-effect-free t))
(inline-letevals (arg)
(inline-quote
(cond
((null ,arg) 0)
((integerp ,arg) ,arg)
(t 999)))))