Просмотр исходного кода

org-odt.el (org-odt-schema-dir-list): Adjust search path

* lisp/org-odt.el (org-odt-schema-dir-list): OD Schema files
have been moved away from $(git-root)/contrib/odt/etc/schema/
to $(git-root)/etc/schema/.
Jambunathan K 13 лет назад
Родитель
Сommit
eef6444ac0
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      lisp/org-odt.el

+ 1 - 3
lisp/org-odt.el

@@ -100,9 +100,7 @@ Use this to infer values of `org-odt-styles-dir' and
 	(expand-file-name "./schema/" org-odt-data-dir)) ; bail out
 	(expand-file-name "./schema/" org-odt-data-dir)) ; bail out
    (eval-when-compile
    (eval-when-compile
      (and (boundp 'org-odt-data-dir) org-odt-data-dir ; see make install
      (and (boundp 'org-odt-data-dir) org-odt-data-dir ; see make install
-	  (expand-file-name "./schema/" org-odt-data-dir)))
-   (expand-file-name "../contrib/odt/etc/schema/" org-odt-lib-dir) ; git
-   )
+	  (expand-file-name "./schema/" org-odt-data-dir))))
   "List of directories to search for OpenDocument schema files.
   "List of directories to search for OpenDocument schema files.
 Use this list to set the default value of
 Use this list to set the default value of
 `org-export-odt-schema-dir'.  The entries in this list are
 `org-export-odt-schema-dir'.  The entries in this list are