diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-03-15 12:15:46 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-03-15 12:21:20 +0100 |
commit | 427d5d9a81449cd2ba0d22203d51871bbf0683dd (patch) | |
tree | dfea63604647a466f567fe33c5d136377cf45eba | |
parent | 125ad6488ffebd9344602b2b53f589c1838484e3 (diff) |
fix: Adjust dependency loading to please the compiler0.1.0
-rw-r--r-- | nyxt.el | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -26,9 +26,10 @@ ;;; Code: -(require 'sly) -(eval-when-compile - (require 'cl-lib)) +(eval-and-compile + (require 'cl-lib) + (require 'sly) + (sly-setup)) (defgroup nyxt nil "Nyxt browser integrations and tweaks." @@ -111,7 +112,7 @@ Switch to the corresponding EXWM workspace and if the Nyxt window is visible, focus on it, otherwise switch to its underlying buffer." - (when (require 'exwm nil t) + (when (eval-and-compile (require 'exwm nil t)) (when-let* ((nyxt-buffer (car (cl-remove-if-not (lambda (buffer) |