forked from mirrors/org-mode
ox-texinfo: Fix small bug
* lisp/ox-texinfo.el (org-texinfo-plain-list): Use `member' instead of `memq' when matching strings.
This commit is contained in:
parent
59cb22d638
commit
5c25ede5d9
|
@ -1282,11 +1282,9 @@ contextual information."
|
|||
(indic (or (plist-get attr :indic)
|
||||
org-texinfo-def-table-markup))
|
||||
(type (org-element-property :type plain-list))
|
||||
(table-type (or (plist-get attr :table-type)
|
||||
"table"))
|
||||
(table-type (plist-get attr :table-type))
|
||||
;; Ensure valid texinfo table type.
|
||||
(table-type (if (memq table-type '("table" "ftable" "vtable"))
|
||||
table-type
|
||||
(table-type (if (member table-type '("ftable" "vtable")) table-type
|
||||
"table"))
|
||||
(list-type (cond
|
||||
((eq type 'ordered) "enumerate")
|
||||
|
|
Loading…
Reference in New Issue