[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] lisp/ox-publish.el: Handle includes with searches
From: |
Nick Gunn |
Subject: |
[O] [PATCH] lisp/ox-publish.el: Handle includes with searches |
Date: |
Sat, 14 Nov 2015 13:56:13 -0800 |
* lisp/ox-publish.el (org-publish-cache-file-needs-publishing): Ignore
any link search suffix on an include so that the path represents a
valid file during the publishing check.
TINYCHANGE
---
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 c7da953..7799d8b 100644
--- a/lisp/ox-publish.el
+++ b/lisp/ox-publish.el
@@ -1244,8 +1244,8 @@ the file including them will be republished as well."
(let ((value (org-element-property :value element)))
(and value
(string-match "^\\(\".+?\"\\|\\S-+\\)" value)
- (org-remove-double-quotes
- (match-string 1 value)))))))
+ (car (split-string (org-remove-double-quotes
+ (match-string 1 value))
"::")))))))
(when included-file
(push (org-publish-cache-ctime-of-src
(expand-file-name included-file))
--
2.5.2
- [O] [PATCH] lisp/ox-publish.el: Handle includes with searches,
Nick Gunn <=