Subject: Wrong use of minibuffer-completion-table in tmm-add-prompt

From: Thierry Volpiatto <[email-masked]>
Date: Tue, 15 Nov 2011 11:41:52 +0100

Hi,
in `tmm-add-prompt' completions is set with

(mapcar 'car minibuffer-completion-table)

which is wrong IMHO and cause error like:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (wrong-type-argument listp closure)
  car(closure)
  mapcar(car (closure (t) (&rest args) (apply (quote completion-table-with-predicate) (quote internal-complete-buffer) 
[...]

  tmm-add-prompt()
  read-string("Menu bar (up/down to change, PgUp to menu): " nil nil "")
--8<---------------cut here---------------end--------------->8---

When `minibuffer-completion-table' is set.
While it is nil, it works of course.

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997