This is a bug, don't string-replace on nil

This commit is contained in:
Benson Chu 2022-09-01 06:50:45 -05:00
parent 08d37618ac
commit 58f1597a55

View file

@ -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