emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master b406174: Use completing-read-default in tmm-prompt


From: Glenn Morris
Subject: [Emacs-diffs] master b406174: Use completing-read-default in tmm-prompt
Date: Fri, 2 Jun 2017 20:01:12 -0400 (EDT)

branch: master
commit b406174d814e1c1bd34917b1497801137e9211a1
Author: Ryan <address@hidden>
Commit: Glenn Morris <address@hidden>

    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
---
 lisp/tmm.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/tmm.el b/lisp/tmm.el
index c683090..8755971 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]