From 67d25049ed5e4497eae3df065858613dcfe2f3de Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 9 Feb 2019 00:36:12 +0100 Subject: [PATCH] ox-publish: Use `org-strip-quotes' * lisp/ox-publish.el (org-publish-cache-file-needs-publishing): Use `org-strip-quotes'. --- lisp/ox-publish.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ox-publish.el b/lisp/ox-publish.el index 1fb404546..b5c283f61 100644 --- a/lisp/ox-publish.el +++ b/lisp/ox-publish.el @@ -1304,8 +1304,8 @@ the file including them will be republished as well." (let* ((value (org-element-property :value element)) (filename (and (string-match "\\`\\(\".+?\"\\|\\S-+\\)" value) - (let ((m (org-unbracket-string - "\"" "\"" (match-string 1 value)))) + (let ((m (org-strip-quotes + (match-string 1 value)))) ;; Ignore search suffix. (if (string-match "::.*?\\'" m) (substring m 0 (match-beginning 0))