Revert "Fix compiler warnings introduced in commit d042e3a."

This reverts commit 79e907fd8c.
This commit is contained in:
Bastien Guerry 2012-10-03 12:13:26 +02:00
parent eba20536e9
commit 1a029166a7
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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