diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2022-09-19 15:54:53 +0200 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-03-15 12:18:53 +0100 |
commit | 2b44d1c9a83986f33e2c7c806ff5dccd5eedeaf1 (patch) | |
tree | 81a6bc0251219186c55a1033ac105a830c739f48 | |
parent | d33ff0d50eb08423e033b0a524287914ee1f05a0 (diff) |
fix: Fix symbol detection logic
-rw-r--r-- | nyxt.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -147,9 +147,9 @@ connect Slynk to it." "Check if Nyxt extension SYSTEM exists in the ASDF source registry. Optionally test if SYMBOL is bound." (if symbol - (when-let ((symbol (nyxt-sly-eval `(find-symbol ,(capitalize symbol) + (when-let ((symbol (nyxt-sly-eval `(find-symbol ,(upcase symbol) ,(sly-keywordify (intern system)))))) - (string-match symbol "NIL")) + (not (string-match "NIL" symbol))) (when-let ((system (nyxt-sly-eval `(asdf:find-system ,system nil)))) (not (string= (downcase system) "nil"))))) |