diff --git a/lisp/org-latex-preview.el b/lisp/org-latex-preview.el index 93abb07c1..28c5ff3ed 100644 --- a/lisp/org-latex-preview.el +++ b/lisp/org-latex-preview.el @@ -1162,15 +1162,16 @@ EXTENDED-INFO, and displayed in the buffer." The foreground color is guessed to be the first specified fill color, which appears to be a reliable heuristic from a few tests with the output of dvisvgm." - (with-temp-buffer - (insert-file-contents (plist-get svg-fragment :path)) - (goto-char (point-min)) - (when (re-search-forward "