Merge branch 'bugfix'
This commit is contained in:
commit
a645a6d679
|
@ -2037,10 +2037,13 @@ Once computed, the results remain cached."
|
||||||
"\n")))
|
"\n")))
|
||||||
(with-temp-file input-file
|
(with-temp-file input-file
|
||||||
(insert input-content))
|
(insert input-content))
|
||||||
(let* ((output-file (org-texinfo-compile input-file))
|
(when-let* ((output-file
|
||||||
(output-content (with-temp-buffer
|
;; If compilation fails, consider math to
|
||||||
(insert-file-contents output-file)
|
;; be not supported.
|
||||||
(buffer-string))))
|
(ignore-errors (org-texinfo-compile input-file)))
|
||||||
|
(output-content (with-temp-buffer
|
||||||
|
(insert-file-contents output-file)
|
||||||
|
(buffer-string))))
|
||||||
(let ((result (string-match-p (regexp-quote math-example)
|
(let ((result (string-match-p (regexp-quote math-example)
|
||||||
output-content)))
|
output-content)))
|
||||||
(delete-file input-file)
|
(delete-file input-file)
|
||||||
|
|
Loading…
Reference in New Issue