org-odt.el: Minor modifications to reflect change in package layout

* contrib/lisp/org-odt.el (org-odt-data-dir): Modified to
reflect change in ELPA package layout.
This commit is contained in:
Jambunathan K 2011-11-01 00:49:06 +05:30
parent e856d1cfe7
commit 00cb82c266
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@
(defconst org-odt-lib-dir (file-name-directory load-file-name)) (defconst org-odt-lib-dir (file-name-directory load-file-name))
(defconst org-odt-data-dir (defconst org-odt-data-dir
(let ((dir1 (expand-file-name "../odt" org-odt-lib-dir)) ; git (let ((dir1 (expand-file-name "../odt" org-odt-lib-dir)) ; git
(dir2 (expand-file-name "./contrib/odt" org-odt-lib-dir))) ; elpa (dir2 (expand-file-name "./" org-odt-lib-dir))) ; elpa
(cond (cond
((file-directory-p dir1) dir1) ((file-directory-p dir1) dir1)
((file-directory-p dir2) dir2) ((file-directory-p dir2) dir2)