diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-02-13 15:09:35 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-02-13 15:09:35 +0100 |
commit | bb53c618166fe5fb9ee4264daa712a3638c2238b (patch) | |
tree | 5c9efbf120d02902efbb2bf742d60f0cf20976c3 | |
parent | 613b480db4f68c13e2a7efa863d17d47265c003f (diff) | |
parent | 20c0c49d098ff6fd8e37770c5ee92b4676c59e37 (diff) | |
download | org-mode-bb53c618166fe5fb9ee4264daa712a3638c2238b.tar.gz |
Merge branch 'maint'
-rw-r--r-- | lisp/ox-publish.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ox-publish.el b/lisp/ox-publish.el index 5c6ad94..2b0e2b3 100644 --- a/lisp/ox-publish.el +++ b/lisp/ox-publish.el @@ -1366,8 +1366,8 @@ does not exist." (let ((attr (file-attributes (expand-file-name (or (file-symlink-p file) file) (file-name-directory file))))) - (if (not attr) (error "No such file: %S" file) - (file-attribute-modification-time attr)))) + (if attr (file-attribute-modification-time attr) + (error "No such file: %S" file)))) (provide 'ox-publish) |