summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-10-02 15:57:51 (GMT)
committer Bastien Guerry <bzg@altern.org>2012-10-02 15:57:51 (GMT)
commit79e907fd8c2a650e17f9703f7332dab51d534b8f (patch)
tree69536c0ca1a2cff4e43d4acafcb5a5fcd1609fb7
parent5f9177ad3a5a8f12fbbca8d0b666de9eb8c3e73a (diff)
downloadorg-mode-79e907fd8c2a650e17f9703f7332dab51d534b8f.zip
org-mode-79e907fd8c2a650e17f9703f7332dab51d534b8f.tar.gz
Fix compiler warnings introduced in commit d042e3a.
-rw-r--r--contrib/lisp/org-e-odt.el4
-rw-r--r--lisp/org-odt.el4
2 files changed, 2 insertions, 6 deletions
diff --git a/contrib/lisp/org-e-odt.el b/contrib/lisp/org-e-odt.el
index d7f21b6..14147c7 100644
--- a/contrib/lisp/org-e-odt.el
+++ b/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
diff --git a/lisp/org-odt.el b/lisp/org-odt.el
index 249bd0a..c417080 100644
--- a/lisp/org-odt.el
+++ b/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