|
@@ -1108,7 +1108,7 @@ so that the file including them will be republished as well."
|
|
(when (equal (file-name-extension filename) "org")
|
|
(when (equal (file-name-extension filename) "org")
|
|
(find-file (expand-file-name filename))
|
|
(find-file (expand-file-name filename))
|
|
(goto-char (point-min))
|
|
(goto-char (point-min))
|
|
- (while (re-search-forward "^#\\+INCLUDE: \\(.+\\)[ ^\t]*$" nil t)
|
|
|
|
|
|
+ (while (re-search-forward "^#\\+INCLUDE:[ \t]+\"?\\([^ \t\"]*\\)\"?[ \t]*.*$" nil t)
|
|
(let* ((included-file (expand-file-name (match-string 1))))
|
|
(let* ((included-file (expand-file-name (match-string 1))))
|
|
(add-to-list 'included-files-ctime
|
|
(add-to-list 'included-files-ctime
|
|
(org-publish-cache-ctime-of-src included-file) t)))))
|
|
(org-publish-cache-ctime-of-src included-file) t)))))
|