Function: apheleia-formatters-extension-p
apheleia-formatters-extension-p is a natively compiled function
defined in apheleia-utils.el.
Signature
(apheleia-formatters-extension-p &rest EXTS)
Documentation
Assert whether current buffer has an extension in EXTS.
Source Code
;; Defined in /nix/store/lwcwryzabcmvjcwwzzs65jrwf7p7d7cs-emacs-packages-deps/share/emacs/site-lisp/elpa/apheleia-20260915.1628/apheleia-utils.el
(defun apheleia-formatters-extension-p (&rest exts)
"Assert whether current buffer has an extension in EXTS."
(when-let* ((name buffer-file-name)
(ext (file-name-extension name)))
(cl-find-if (apply-partially #'string-equal ext)
exts)))