|
@@ -148,8 +148,7 @@
|
|
|
Use this to infer values of `org-odt-styles-dir' and
|
|
|
`org-odt-schema-dir'.")
|
|
|
|
|
|
-(defvar org-odt-data-dir
|
|
|
- (expand-file-name "../../etc/" org-odt-lib-dir)
|
|
|
+(defvar org-odt-data-dir (expand-file-name "../../etc/" org-odt-lib-dir)
|
|
|
"Data directory for ODT exporter.
|
|
|
Use this to infer values of `org-odt-styles-dir' and
|
|
|
`org-odt-schema-dir'.")
|
|
@@ -162,25 +161,17 @@ Use this to infer values of `org-odt-styles-dir' and
|
|
|
"Regular expressions for special string conversion.")
|
|
|
|
|
|
(defconst org-odt-schema-dir-list
|
|
|
- (list
|
|
|
- (and org-odt-data-dir
|
|
|
- (expand-file-name "./schema/" org-odt-data-dir)) ; bail out
|
|
|
- (eval-when-compile
|
|
|
- (and (boundp 'org-odt-data-dir) org-odt-data-dir ; see make install
|
|
|
- (expand-file-name "./schema/" org-odt-data-dir))))
|
|
|
+ (list (expand-file-name "./schema/" org-odt-data-dir))
|
|
|
"List of directories to search for OpenDocument schema files.
|
|
|
-Use this list to set the default value of
|
|
|
-`org-odt-schema-dir'. The entries in this list are
|
|
|
-populated heuristically based on the values of `org-odt-lib-dir'
|
|
|
-and `org-odt-data-dir'.")
|
|
|
+Use this list to set the default value of `org-odt-schema-dir'.
|
|
|
+The entries in this list are populated heuristically based on the
|
|
|
+values of `org-odt-lib-dir' and `org-odt-data-dir'.")
|
|
|
|
|
|
(defconst org-odt-styles-dir-list
|
|
|
(list
|
|
|
(and org-odt-data-dir
|
|
|
(expand-file-name "./styles/" org-odt-data-dir)) ; bail out
|
|
|
- (eval-when-compile
|
|
|
- (and (boundp 'org-odt-data-dir) org-odt-data-dir ; see make install
|
|
|
- (expand-file-name "./styles/" org-odt-data-dir)))
|
|
|
+ (expand-file-name "./styles/" org-odt-data-dir)
|
|
|
(expand-file-name "../etc/styles/" org-odt-lib-dir) ; git
|
|
|
(expand-file-name "./etc/styles/" org-odt-lib-dir) ; elpa
|
|
|
(expand-file-name "./org/" data-directory) ; system
|