X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/559836fbccf9c79c621da96fe8ca0080b980b14c..dff4a9f6a4e9e42de6177e29faa7e3524b47e6d4:/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)