]> git.eshelyaron.com Git - emacs.git/commitdiff
Use completing-read-default in tmm-prompt
authorRyan <rct@thompsonclan.org>
Sat, 3 Jun 2017 00:00:49 +0000 (20:00 -0400)
committerGlenn Morris <rgm@gnu.org>
Sat, 3 Jun 2017 00:00:49 +0000 (20:00 -0400)
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

lisp/tmm.el

index c6830903e3de02e0fd091819d50d6c8db11947ba..8755971d7ca7d669252040d391e00800bb08ae9e 100644 (file)
@@ -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