From: Ryan Date: Sat, 3 Jun 2017 00:00:49 +0000 (-0400) Subject: Use completing-read-default in tmm-prompt X-Git-Tag: emacs-26.0.90~521^2~181 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b406174d814e1c1bd34917b1497801137e9211a1;p=emacs.git Use completing-read-default in tmm-prompt tmm uses completing-read, but customizes its behavior so much that any alternative completing-read-function will almost certainly break it. For example, both ido-ubiquitous and ivy have special code to deactivate themselves for tmm. * lisp/tmm.el (tmm-prompt): Use completing-read-default instead of completing-read. (Bug#27193) Copyright-paperwork-exempt: yes --- diff --git a/lisp/tmm.el b/lisp/tmm.el index c6830903e3d..8755971d7ca 100644 --- a/lisp/tmm.el +++ b/lisp/tmm.el @@ -247,7 +247,7 @@ Its value should be an event that has a binding in MENU." ;; candidates in the order they are shown on ;; the menu bar. So pass completing-read the ;; reversed copy of the list. - (completing-read + (completing-read-default (concat gl-str " (up/down to change, PgUp to menu): ") (tmm--completion-table (reverse tmm-km-list)) nil t nil