浏览代码

ox-html: Fix last commit (part 2)

* lisp/ox-html.el (org-html-plain-list): Fix typo.
Nicolas Goaziou 8 年之前
父节点
当前提交
4caad0555f
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      lisp/ox-html.el

+ 4 - 4
lisp/ox-html.el

@@ -3147,10 +3147,10 @@ the plist used as a communication channel."
 CONTENTS is the contents of the list.  INFO is a plist holding
 contextual information."
   (let* ((type (pcase (org-element-property :type plain-list)
-		 ('ordered "ol")
-		 ('unordered "ul")
-		 ('descriptive "dl")
-		 (type (error "Unknown HTML list type: %s" type))))
+		 (`ordered "ol")
+		 (`unordered "ul")
+		 (`descriptive "dl")
+		 (other (error "Unknown HTML list type: %s" other))))
 	 (class (format "org-%s" type))
 	 (attributes (org-export-read-attribute :attr_html plain-list)))
     (format "<%s %s>\n%s</%s>"