diff --git a/init.el b/init.el index 21a1a7e..4d41553 100644 --- a/init.el +++ b/init.el @@ -2180,7 +2180,8 @@ line in the block and manually deal with indentation." (not (sly-connected-p)))) (defun my/-format-only-when-sly-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 (use-package sly ;; :hook (lisp-mode . my/-lisp-mode-autoconnect-sly)