From 1d19702925c4c20746038ab4086263e1cf236f04 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sat, 10 Jan 2026 13:21:23 -0800 Subject: [PATCH] Fix auto-format issue --- init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)