浏览代码

Merge branch 'maint'

Nicolas Goaziou 6 年之前
父节点
当前提交
bb53c61816
共有 1 个文件被更改,包括 2 次插入2 次删除
  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)