aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term.el
diff options
context:
space:
mode:
authorStefan Monnier2014-04-22 22:22:06 -0400
committerStefan Monnier2014-04-22 22:22:06 -0400
commit0e8a93314941fbf1e8790cbe1f7d1e2069281b35 (patch)
tree7b0cdd683cacad9c2664d5a070409d639f32b10e /lisp/term.el
parentc08684513a37f787a540033a6e543326c9631d37 (diff)
downloademacs-0e8a93314941fbf1e8790cbe1f7d1e2069281b35.tar.gz
emacs-0e8a93314941fbf1e8790cbe1f7d1e2069281b35.zip
* lisp/simple.el (completion-list-mode-map): Use choose-completion for the
mouse binding as well. (completion-list-mode, completion-setup-function): Adjust docstring and echo area message accordingly. * lisp/progmodes/idlwave.el (idlwave-choose-completion): Adjust to new calling convention of choose-completion. * lisp/comint.el (comint-dynamic-list-completions): * lisp/term.el (term-dynamic-list-completions): Accept choose-completion. Fixes: debbugs:17302
Diffstat (limited to 'lisp/term.el')
-rw-r--r--lisp/term.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/term.el b/lisp/term.el
index 97108c330a8..ce6125e2790 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -4137,8 +4137,9 @@ Typing SPC flushes the help buffer."
4137 (and (consp first) 4137 (and (consp first)
4138 (eq (window-buffer (posn-window (event-start first))) 4138 (eq (window-buffer (posn-window (event-start first)))
4139 (get-buffer "*Completions*")) 4139 (get-buffer "*Completions*"))
4140 (eq (key-binding key) 'mouse-choose-completion))) 4140 (memq (key-binding key)
4141 ;; If the user does mouse-choose-completion with the mouse, 4141 '(mouse-choose-completion choose-completion))))
4142 ;; If the user does choose-completion with the mouse,
4142 ;; execute the command, then delete the completion window. 4143 ;; execute the command, then delete the completion window.
4143 (progn 4144 (progn
4144 (choose-completion first) 4145 (choose-completion first)