Browse Source

org-e-odt.el: Fix previous commit

Jambunathan K 12 years ago
parent
commit
4a53af87de
1 changed files with 3 additions and 3 deletions
  1. 3 3
      contrib/lisp/org-e-odt.el

+ 3 - 3
contrib/lisp/org-e-odt.el

@@ -184,9 +184,9 @@ structure of the values.")
 		     ((symbolp style) (org-e-odt-get-style-name-for-entity
 				       'paragraph style)))))
     (unless style-name
-      (error "Don't know how to handle paragraph style %s" style)))
-  (format "\n<text:p text:style-name=\"%s\">%s</text:p>"
-	  style-name text))
+      (error "Don't know how to handle paragraph style %s" style))
+    (format "\n<text:p text:style-name=\"%s\">%s</text:p>"
+	    style-name text)))
 
 (defun org-e-odt-format-date (&optional org-ts fmt)
   (save-match-data