Pedro Andres Aranda Gutierrez <[email protected]> writes:

> Org-mode main states emacs 28.2 as a requirement. emacs 28.1 added
> string-replace and I think we should take advantage of it...

Looks line nobody took this for review.

> -     (setq image-code (replace-regexp-in-string "\\.svg}"
> -                                                "}"
> -                                                image-code
> -                                                nil t))))
> +     (setq image-code (string-replace "\\.svg}" "}" image-code))))

Looks like \\ is not needed here.

Once you fix this issue, feel free to push.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to