ox-publish: Fix code typo (take 3)

* lisp/ox-publish.el (org-publish-cache-file-needs-publishing): Fix
  code typo.
This commit is contained in:
Nicolas Goaziou 2014-03-25 16:06:46 +01:00
parent 71ee4425b6
commit cd9685cd10

View file

@ -1169,9 +1169,11 @@ the file including them will be republished as well."
(let* ((element (org-element-at-point))
(included-file
(and (eq (org-element-type element) 'keyword)
(string-match "^\\(\".+?\"\\|\\S-+\\)"
(org-element-property :value element))
(org-remove-double-quotes (match-string 1)))))
(let ((value (org-element-property :value element)))
(and value
(string-match "^\\(\".+?\"\\|\\S-+\\)" value)
(org-remove-double-quotes
(match-string 1 value)))))))
(when included-file
(add-to-list 'included-files-ctime
(org-publish-cache-ctime-of-src