diff --git a/tests/markdown-test.el b/tests/markdown-test.el index 9b7b47b0..3257ce8e 100644 --- a/tests/markdown-test.el +++ b/tests/markdown-test.el @@ -3290,7 +3290,7 @@ indented the same amount." (defmacro markdown-temp-eww (&rest body) `(progn - ,@(if (featurep 'eww) body + ,@(if (require 'eww nil t) body `((ad-enable-advice #'markdown-live-preview-window-eww 'around 'markdown-create-fake-eww) (ad-activate #'markdown-live-preview-window-eww)