diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2014-04-25 18:11:07 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2014-04-25 18:11:07 +0200 |
commit | dff4a9f6a4e9e42de6177e29faa7e3524b47e6d4 (patch) | |
tree | 60924b65da522416f928b436f8525f5bc8bfc3d7 /lisp/comint.el | |
parent | 8de17fac97652d77bffd24e41b0097c863bd752b (diff) | |
parent | 844465d6cac7c243e37e446067b1a2e06be293da (diff) | |
download | emacs-dff4a9f6a4e9e42de6177e29faa7e3524b47e6d4.tar.gz |
Merge from emacs-24; up to 2014-04-25T10:35:01Z!michael.albinus@gmx.de
Diffstat (limited to 'lisp/comint.el')
-rw-r--r-- | lisp/comint.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index dfc3fee0884..da3782717c0 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) |