Function: treemacs--mac-ignore-file-predicate

treemacs--mac-ignore-file-predicate is a byte-compiled function defined in treemacs-core-utils.el.

Signature

(treemacs--mac-ignore-file-predicate FILE _)

Documentation

Ignore FILE if it is .DS_Store and .localized.

Will be added to treemacs-ignored-file-predicates on Macs.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-core-utils.el
(define-inline treemacs--mac-ignore-file-predicate (file _)
  "Ignore FILE if it is .DS_Store and .localized.
Will be added to `treemacs-ignored-file-predicates' on Macs."
  (declare (side-effect-free t) (pure t))
  (inline-letevals (file)
    (inline-quote
     (or (string-equal ,file ".DS_Store")
         (string-equal ,file ".localized")))))