We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eee57ec + b1e044c commit 84afca7Copy full SHA for 84afca7
tests/markdown-test.el
@@ -3782,8 +3782,10 @@ Detail: https://github.com/jrblevin/markdown-mode/issues/79"
3782
(ad-activate #'markdown-live-preview-window-eww)))))
3783
3784
(defmacro markdown-test-eww-or-nothing (test &rest body)
3785
- (if (and (fboundp 'libxml-parse-html-region) (require 'eww nil t)) `(progn ,@body)
3786
- (message "no eww, or no libxml2 found: skipping %s" test)
+ (if (and (fboundp 'libxml-parse-html-region) (require 'eww nil t)
+ (executable-find markdown-command))
3787
+ `(progn ,@body)
3788
+ (message "no eww, no libxml2, or no %s found: skipping %s" markdown-command test)
3789
nil))
3790
3791
(ert-deftest test-markdown-ext/live-preview-exports ()
0 commit comments