summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-10-03 10:13:26 (GMT)
committer Bastien Guerry <bzg@altern.org>2012-10-03 10:13:26 (GMT)
commit1a029166a720b205456b4b5f2763dd8e17359704 (patch)
tree638bf7bb062c785491ac1816336c3460490c3b5c
parenteba20536e966d27c07db166b6e6aa46d81a72937 (diff)
downloadorg-mode-1a029166a720b205456b4b5f2763dd8e17359704.zip
org-mode-1a029166a720b205456b4b5f2763dd8e17359704.tar.gz
Revert "Fix compiler warnings introduced in commit d042e3a."
This reverts commit 79e907fd8c2a650e17f9703f7332dab51d534b8f.
-rw-r--r--contrib/lisp/org-e-odt.el4
-rw-r--r--lisp/org-odt.el4
2 files changed, 6 insertions, 2 deletions
diff --git a/contrib/lisp/org-e-odt.el b/contrib/lisp/org-e-odt.el
index 14147c7..d7f21b6 100644
--- a/contrib/lisp/org-e-odt.el
+++ b/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
diff --git a/lisp/org-odt.el b/lisp/org-odt.el
index c417080..249bd0a 100644
--- a/lisp/org-odt.el
+++ b/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