Fix compiler warnings introduced in commit d042e3a.

This commit is contained in:
Bastien Guerry 2012-10-02 17:57:51 +02:00
parent 5f9177ad3a
commit 79e907fd8c
2 changed files with 2 additions and 6 deletions

View File

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

View File

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