ox-latex: PDF generation timestamp check
commita37996910e7914fc3a999ca63c449132a49fd300
authorAnthony Cowley <acowley@gmail.com>
Thu, 14 Jan 2016 23:13:45 +0000 (14 18:13 -0500)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 26 Jan 2016 22:02:21 +0000 (26 23:02 +0100)
tree444a1fde898b6430b981616727b8f7fb7708a77f
parentf02d15d6776bea05bc79793355494fcf1b9eb2fd
ox-latex: PDF generation timestamp check

* lisp/ox-latex.el (org-latex-compile): Improve timestamp check on HFS+
  filesystem by only considering 1-second clock resolution.

Previously, the call to (current-time) could return a timestamp with
a non-zero microsecond or picosecond fields, while the file attribute
always has zeros for these fields.  The check that the generated file is
newer than the reference timestamp only succeeded when the time to
generate the file crossed a 1-second clock interval.

TINYCHANGE
lisp/ox-latex.el