Pārlūkot izejas kodu

Merge branch 'maint'

Nicolas Goaziou 6 gadi atpakaļ
vecāks
revīzija
bb53c61816
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      lisp/ox-publish.el

+ 2 - 2
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)