diff options
author | Jambunathan K <kjambunathan@gmail.com> | 2012-04-22 23:49:18 +0530 |
---|---|---|
committer | Jambunathan K <kjambunathan@gmail.com> | 2012-04-22 23:49:18 +0530 |
commit | ac5d8c92a5a1cd0d3398c0f48515277ea49cd486 (patch) | |
tree | c794fc6e094b1f4d788842110799da28cde67d9e | |
parent | eef6444ac0d104f7be1558cc2e9b66e082776fa1 (diff) | |
download | org-mode-ac5d8c92a5a1cd0d3398c0f48515277ea49cd486.tar.gz |
org-e-odt.el: Adjust search paths for schema and styles files
-rw-r--r-- | contrib/lisp/org-e-odt.el | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/contrib/lisp/org-e-odt.el b/contrib/lisp/org-e-odt.el index 0fda910..98f72ff 100644 --- a/contrib/lisp/org-e-odt.el +++ b/contrib/lisp/org-e-odt.el @@ -1411,7 +1411,7 @@ Use this to infer values of `org-e-odt-styles-dir' and `org-e-odt-schema-dir'.") (defvar org-e-odt-data-dir - (expand-file-name "../etc/" org-e-odt-lib-dir) + (expand-file-name "../../etc/" org-e-odt-lib-dir) "Data directory for ODT exporter. Use this to infer values of `org-e-odt-styles-dir' and `org-e-odt-schema-dir'.") @@ -1429,16 +1429,13 @@ Use this to infer values of `org-e-odt-styles-dir' and (expand-file-name "./schema/" org-e-odt-data-dir)) ; bail out (eval-when-compile (and (boundp 'org-e-odt-data-dir) org-e-odt-data-dir ; see make install - (expand-file-name "./schema/" org-e-odt-data-dir))) - (expand-file-name "../contrib/odt/etc/schema/" org-e-odt-lib-dir) ; git - ) + (expand-file-name "./schema/" org-e-odt-data-dir)))) "List of directories to search for OpenDocument schema files. Use this list to set the default value of `org-e-odt-schema-dir'. The entries in this list are populated heuristically based on the values of `org-e-odt-lib-dir' and `org-e-odt-data-dir'.") - (defconst org-e-odt-styles-dir-list (list (and org-e-odt-data-dir @@ -1446,7 +1443,7 @@ and `org-e-odt-data-dir'.") (eval-when-compile (and (boundp 'org-e-odt-data-dir) org-e-odt-data-dir ; see make install (expand-file-name "./styles/" org-e-odt-data-dir))) - (expand-file-name "../etc/styles/" org-e-odt-lib-dir) ; git + (expand-file-name "../../etc/styles/" org-e-odt-lib-dir) ; git (expand-file-name "./etc/styles/" org-e-odt-lib-dir) ; elpa (expand-file-name "./org/" data-directory) ; system ) |