diff --git a/features/ob-ein.feature b/features/ob-ein.feature index 16b05e9..d5e4899 100644 --- a/features/ob-ein.feature +++ b/features/ob-ein.feature @@ -112,7 +112,7 @@ Scenario: Specific port, portless localhost refers to same, concurrent execution And I wait for buffer to say "3.1415" And I should not see "[....]" -@org +@svg Scenario: portless url with path, image When I open temp file "path.org" And I call "org-mode" diff --git a/features/support/env.el b/features/support/env.el index a9a0762..ad4bde4 100644 --- a/features/support/env.el +++ b/features/support/env.el @@ -30,11 +30,17 @@ (when (file-exists-p (concat default-directory "features/support/test-poly.el")) (load-file (concat default-directory "features/support/test-poly.el"))) +;; how to turn off undo-tree-mode under polymode? (!cons "evil" ecukes-exclude-tags) -(!cons "memory" ecukes-exclude-tags) -(!cons "content" ecukes-exclude-tags) -(when (eq system-type 'darwin) ;; julia bogs github actions catalina - (!cons "julia" ecukes-exclude-tags)) + +(when (getenv "GITHUB_ACTIONS") + (!cons "memory" ecukes-exclude-tags) + (!cons "content" ecukes-exclude-tags) + (when (eq system-type 'darwin) + (!cons "julia" ecukes-exclude-tags))) + +(unless (fboundp 'libxml-parse-xml-region) + (!cons "svg" ecukes-exclude-tags)) (defvar ein:testing-jupyter-server-root (f-parent (f-dirname load-file-name))) diff --git a/lisp/ein-output-area.el b/lisp/ein-output-area.el index 857f391..9529e3a 100644 --- a/lisp/ein-output-area.el +++ b/lisp/ein-output-area.el @@ -91,7 +91,7 @@ when REPLACE-P returns non-`nil'." (defun ein:output-area-get-html-renderer () - (if (and (fboundp 'shr-insert-document) (fboundp 'libxml-parse-xml-region)) + (if (fboundp 'libxml-parse-xml-region) #'ein:insert-html-shr #'ein:insert-read-only))