]> git.eshelyaron.com Git - emacs.git/commitdiff
lisp/textmodes/table.el (table-generate-source): Fix completing-read call
authorOleh Krehel <ohwoeowho@gmail.com>
Thu, 18 Aug 2016 14:05:29 +0000 (16:05 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Thu, 18 Aug 2016 14:11:56 +0000 (16:11 +0200)
Doesn't make sense to pass '(("html") ("latex") ("cals")) to
`completing-read'.

lisp/textmodes/table.el

index 3502adf5e292049d08c3dc9508a361e135f60dc9..8330e1772d73bca27926ff80468c5e821a560078 100644 (file)
@@ -2968,8 +2968,7 @@ CALS (DocBook DTD):
          (default (car table-source-language-history))
          (language (downcase (completing-read
                               (format "Language (default %s): " default)
-                              (mapcar (lambda (s) (list (symbol-name s)))
-                                      table-source-languages)
+                              table-source-languages
                               nil t nil 'table-source-language-history default))))
      (list
       (intern language)