From 6323c4e57440a6bfb98e5b065f2c7d1058feb359 Mon Sep 17 00:00:00 2001 From: "Tarn W. Burton" Date: Mon, 20 Feb 2023 15:08:18 -0500 Subject: [PATCH] Avoid add NIL to LOOP --- src/lsp/format.lsp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lsp/format.lsp b/src/lsp/format.lsp index 07ca0c08e..78816eeea 100644 --- a/src/lsp/format.lsp +++ b/src/lsp/format.lsp @@ -543,7 +543,8 @@ (form new-directives) (expand-directive (car remaining-directives) (cdr remaining-directives)) - (push form results) + (when form + (push form results)) (setf remaining-directives new-directives))) (reverse results)))