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:
Nicolas Goaziou 2013-03-09 01:02:02 +01:00
parent 59cb22d638
commit 5c25ede5d9
1 changed files with 2 additions and 4 deletions

View File

@ -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")