소스 검색

ox-odt: Fix last commit

* lisp/ox-odt.el (org-odt-template): Add missing `org-strip-quote'
  call.
Nicolas Goaziou 6 년 전
부모
커밋
9056d2b706
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lisp/ox-odt.el

+ 1 - 1
lisp/ox-odt.el

@@ -1364,7 +1364,7 @@ original parsed data.  INFO is a plist holding export options."
 	     (condition-case nil
 	     (condition-case nil
 		 (read s)
 		 (read s)
 	       (error (user-error "Invalid styles file specification: %S" s))))
 	       (error (user-error "Invalid styles file specification: %S" s))))
-	    (filename filename))))
+	    (filename (org-strip-quote filename)))))
     (cond
     (cond
      ;; Non-availability of styles.xml is not a critical error.  For
      ;; Non-availability of styles.xml is not a critical error.  For
      ;; now, throw an error.
      ;; now, throw an error.