Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2016-11-29 09:30:10 +01:00
commit e53452c76c
2 changed files with 6 additions and 9 deletions

View File

@ -19386,12 +19386,9 @@ inspection."
(with-current-buffer (find-file-noselect tmp-out-file t)
(goto-char (point-min))
(when (re-search-forward
(concat
(regexp-quote
"<math xmlns=\"http://www.w3.org/1998/Math/MathML\"")
"[^>]*?>"
"\\(.\\|\n\\)*"
"</math>")
(format "<math[^>]*?%s[^>]*?>\\(.\\|\n\\)*</math>"
(regexp-quote
"xmlns=\"http://www.w3.org/1998/Math/MathML\""))
nil t)
(prog1 (match-string 0) (kill-buffer))))))
(cond

View File

@ -3741,9 +3741,9 @@ contextual information."
(org-link
(let ((link (with-temp-buffer
(insert latex-frag)
(org-format-latex cache-subdir cache-dir
nil display-msg
nil processing-type)
(org-format-latex cache-subdir nil nil cache-dir
nil display-msg nil
processing-type)
(buffer-substring-no-properties
(point-min) (point-max)))))
(if (string-match-p "file:\\([^]]*\\)" link) link