Commit 1b049ecf authored by Pierre Neidhardt's avatar Pierre Neidhardt

publish.el: Explain why we need #+DATE

parent 1f919a50
......@@ -89,6 +89,9 @@ date only if they differ."
info))
(creation-date (if (string= "" meta-date)
(ambrevar/git-creation-date file)
;; Default to the #+DATE value when specified. This
;; can be useful, for instance, when Git gets the file
;; creation date wrong if the file was renamed.
meta-date))
(last-update-date (ambrevar/git-last-update-date file)))
`((?t . ,(org-export-data (plist-get info :title) info))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment