Prechádzať zdrojové kódy

Merge branch 'maint'

Bastien 6 rokov pred
rodič
commit
18998fd4c2
1 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  1. 1 2
      lisp/ox-odt.el

+ 1 - 2
lisp/ox-odt.el

@@ -1359,11 +1359,10 @@ original parsed data.  INFO is a plist holding export options."
   ;; Write styles file.
   ;; Write styles file.
   (let* ((styles-file (plist-get info :odt-styles-file))
   (let* ((styles-file (plist-get info :odt-styles-file))
 	 (styles-file (and (org-string-nw-p styles-file)
 	 (styles-file (and (org-string-nw-p styles-file)
-			   (read (org-trim styles-file))))
+			   (org-trim styles-file)))
 	 ;; Non-availability of styles.xml is not a critical
 	 ;; Non-availability of styles.xml is not a critical
 	 ;; error. For now, throw an error.
 	 ;; error. For now, throw an error.
 	 (styles-file (or styles-file
 	 (styles-file (or styles-file
-			  (plist-get info :odt-styles-file)
 			  (expand-file-name "OrgOdtStyles.xml"
 			  (expand-file-name "OrgOdtStyles.xml"
 					    org-odt-styles-dir)
 					    org-odt-styles-dir)
 			  (error "org-odt: Missing styles file?"))))
 			  (error "org-odt: Missing styles file?"))))