فهرست منبع

Fix compiler warnings introduced in commit d042e3a.

Bastien Guerry 12 سال پیش
والد
کامیت
79e907fd8c
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

@@ -387,9 +387,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