X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/42e910349d699ee3f8024371ca1e60e015fc6aa7..2c4e2e6fd3096eb615504e3cfc89c588ec620f78:/lisp/comint.el diff --git a/lisp/comint.el b/lisp/comint.el index dfc3fee088..da3782717c 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -3332,8 +3332,9 @@ the completions." (and (consp first) (consp (event-start first)) (eq (window-buffer (posn-window (event-start first))) (get-buffer "*Completions*")) - (eq (key-binding key) 'mouse-choose-completion))) - ;; If the user does mouse-choose-completion with the mouse, + (memq (key-binding key) + '(mouse-choose-completion choose-completion)))) + ;; If the user does choose-completion with the mouse, ;; execute the command, then delete the completion window. (progn (choose-completion first)