Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2019-02-13 15:09:35 +01:00
commit bb53c61816
1 changed files with 2 additions and 2 deletions

View File

@ -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)