Browse Source

Merge branch 'maint'

Bastien Guerry 12 năm trước cách đây
mục cha
commit
36b95d4491
2 tập tin đã thay đổi với 2 bổ sung6 xóa
  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