From 22498ca24ac93c051d233abef630aece1ac45dd1 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Wed, 29 Jan 2025 14:31:18 -0500 Subject: [PATCH] =?UTF-8?q?Fix:=20dtrt-indent.el:202:30:=20Warning:=20refe?= =?UTF-8?q?rence=20to=20free=20variable=20=E2=80=98smie-config--buffer-loc?= =?UTF-8?q?al=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dtrt-indent.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtrt-indent.el b/dtrt-indent.el index 737c623..5d86223 100644 --- a/dtrt-indent.el +++ b/dtrt-indent.el @@ -199,7 +199,7 @@ adjusted transparently." (if dtrt-indent-mode (if (and (boundp 'smie-grammar) (not (null smie-grammar)) (not (eq smie-grammar 'unset))) (progn - (when (and (null smie-config--buffer-local) + (when (and (not (bound-and-true-p smie-config--buffer-local)) (fboundp 'smie-config-guess)) (smie-config-guess)) (when (bound-and-true-p dtrt-indent-run-after-smie)