1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00

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
This commit is contained in:
Ryan 2017-06-02 20:00:49 -04:00 committed by Glenn Morris
parent 412e7086f6
commit b406174d81

View 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