From cabcc1a3985c3c8987ef33e9a1c5f09efbb5083c Mon Sep 17 00:00:00 2001 From: IGARASHI Masanao Date: Tue, 20 Dec 2016 02:43:29 +0900 Subject: [PATCH] Use `string-match-p' instead of `org-string-match-p' --- ox-rst.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ox-rst.el b/ox-rst.el index 2464da6..b9c90f9 100644 --- a/ox-rst.el +++ b/ox-rst.el @@ -1179,9 +1179,9 @@ containing export options. Modify DATA by side-effect and return it." (entity (org-element-property :latex-math-p obj)) (latex-fragment (let ((value (org-element-property :value obj))) - (or (org-string-match-p "\\`\\\\([^\000]*\\\\)\\'" value) - (org-string-match-p "\\`\\$[^\000]*\\$\\'" value) - (org-string-match-p "\\`\\\\\\[[^\000]*\\\\\\]\\'" value)))) + (or (string-match-p "\\`\\\\([^\000]*\\\\)\\'" value) + (string-match-p "\\`\\$[^\000]*\\$\\'" value) + (string-match-p "\\`\\\\\\[[^\000]*\\\\\\]\\'" value)))) ((subscript superscript) t)))))) (org-element-map data '(entity latex-fragment subscript superscript) (lambda (object)