diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-02-09 00:36:12 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-02-09 00:36:12 +0100 |
commit | 67d25049ed5e4497eae3df065858613dcfe2f3de (patch) | |
tree | 9dbc285ff2cdf71f6ea8e86f94ebd4b0bfda06a6 | |
parent | c7f4e85389e4e23565f5b16faf598802dfcde0a6 (diff) | |
download | org-mode-67d25049ed5e4497eae3df065858613dcfe2f3de.tar.gz |
ox-publish: Use `org-strip-quotes'
* lisp/ox-publish.el (org-publish-cache-file-needs-publishing): Use
`org-strip-quotes'.
-rw-r--r-- | lisp/ox-publish.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ox-publish.el b/lisp/ox-publish.el index 1fb4045..b5c283f 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)) |