From 58f1597a558eb3e6e565ac8791e61692941e9665 Mon Sep 17 00:00:00 2001 From: Benson Chu Date: Thu, 1 Sep 2022 06:50:45 -0500 Subject: [PATCH] This is a bug, don't string-replace on nil --- config-programming.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config-programming.org b/config-programming.org index 9f740bf..77afe8f 100644 --- a/config-programming.org +++ b/config-programming.org @@ -65,7 +65,8 @@ (advice-add #'lsp--progress-status :filter-return #'(lambda (result) - (concat (string-replace "%%" "%%%%" result) " ")))) + (when result + (concat (string-replace "%%" "%%%%" result) " "))))) (when my-ec/at-ti (add-to-list 'exec-path