瀏覽代碼

Merge branch 'maint'

Bastien Guerry 12 年之前
父節點
當前提交
36b95d4491
共有 2 個文件被更改,包括 2 次插入6 次删除
  1. 1 3
      contrib/lisp/org-e-odt.el
  2. 1 3
      lisp/org-odt.el

+ 1 - 3
contrib/lisp/org-e-odt.el

@@ -381,9 +381,7 @@ Also add it to `rng-schema-locating-files'."
 		(file-readable-p
 		 (expand-file-name "schemas.xml" schema-dir)))
 	       schema-dir
-	     (when value
-	       (message "No OpenDocument schema files" value))
-	     nil)))
+	     (when value (message "No OpenDocument schema files")))))
     (when org-e-odt-schema-dir
       (eval-after-load 'rng-loc
 	'(add-to-list 'rng-schema-locating-files

+ 1 - 3
lisp/org-odt.el

@@ -139,9 +139,7 @@ Also add it to `rng-schema-locating-files'."
 		(file-readable-p
 		 (expand-file-name "schemas.xml" schema-dir)))
 	       schema-dir
-	     (when value
-	       (message "No OpenDocument schema files" value))
-	     nil)))
+	     (when value (message "No OpenDocument schema files")))))
     (when org-export-odt-schema-dir
       (eval-after-load 'rng-loc
 	'(add-to-list 'rng-schema-locating-files