Function: treemacs--add-trailing-slash--inliner

treemacs--add-trailing-slash--inliner is a function defined in treemacs-core-utils.el.

Signature

(treemacs--add-trailing-slash--inliner INLINE--FORM STR)

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-core-utils.el
;; Could not find source code, showing raw function object.
#[(inline--form str)
  ((ignore inline--form)
   (catch 'inline--just-use
     (let*
	 ((exp str)
	  (str (if (macroexp-copyable-p exp) exp (make-symbol "str")))
	  (body
	   (list 'if
		 (list 'eq 47
		       (list 'aref str (list '1- (list 'length str))))
		 str (list 'concat str "/"))))
       (if (eq str exp) body
	 (macroexp-let* (list (list str exp)) body)))))
  (t)]