summaryrefslogtreecommitdiff
path: root/lisp/comint.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2014-04-25 18:11:07 +0200
committerJuanma Barranquero <lekktu@gmail.com>2014-04-25 18:11:07 +0200
commitdff4a9f6a4e9e42de6177e29faa7e3524b47e6d4 (patch)
tree60924b65da522416f928b436f8525f5bc8bfc3d7 /lisp/comint.el
parent8de17fac97652d77bffd24e41b0097c863bd752b (diff)
parent844465d6cac7c243e37e446067b1a2e06be293da (diff)
downloademacs-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.el5
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)