Fix auto-format issue

This commit is contained in:
2026-01-10 13:21:23 -08:00
parent af49ba89c6
commit 1d19702925

View File

@ -2180,7 +2180,8 @@ line in the block and manually deal with indentation."
(not (sly-connected-p)))) (not (sly-connected-p))))
(defun my/-format-only-when-sly-running () (defun my/-format-only-when-sly-running ()
"Make apheleia-mode format lisp buffers only when sly is running." "Make apheleia-mode format lisp buffers only when sly is running."
(add-to-list 'apheleia-skip-functions #'my/-apheleia-sly-skip-function))) (add-to-list (make-local-variable 'apheleia-skip-functions)
#'my/-apheleia-sly-skip-function)))
;; sly ;; sly
(use-package sly (use-package sly
;; :hook (lisp-mode . my/-lisp-mode-autoconnect-sly) ;; :hook (lisp-mode . my/-lisp-mode-autoconnect-sly)