Преглед на файлове

Revert "Fix compiler warnings introduced in commit d042e3a."

This reverts commit 79e907fd8c2a650e17f9703f7332dab51d534b8f.
Bastien Guerry преди 12 години
родител
ревизия
1a029166a7
променени са 2 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. 3 1
      contrib/lisp/org-e-odt.el
  2. 3 1
      lisp/org-odt.el

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

@@ -387,7 +387,9 @@ 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")))))
+	     (when value
+	       (message "No OpenDocument schema files" value))
+	     nil)))
     (when org-e-odt-schema-dir
       (eval-after-load 'rng-loc
 	'(add-to-list 'rng-schema-locating-files

+ 3 - 1
lisp/org-odt.el

@@ -139,7 +139,9 @@ 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")))))
+	     (when value
+	       (message "No OpenDocument schema files" value))
+	     nil)))
     (when org-export-odt-schema-dir
       (eval-after-load 'rng-loc
 	'(add-to-list 'rng-schema-locating-files