From: Glenn Morris Date: Sat, 24 Oct 2009 03:50:20 +0000 (+0000) Subject: (comint-dynamic-list-completions): Use choose-completion rather than X-Git-Tag: emacs-pretest-23.1.90~676 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c74d52320406dd675299f02c0d60d29921d764b;p=emacs.git (comint-dynamic-list-completions): Use choose-completion rather than obsolete alias mouse-choose-completion. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 260aec76b02..df8e187ac23 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,6 @@ 2009-10-24 Glenn Morris + * comint.el (comint-dynamic-list-completions): * term.el (term-dynamic-list-completions): Use choose-completion rather than obsolete alias mouse-choose-completion. diff --git a/lisp/comint.el b/lisp/comint.el index 1d8deb1f1fb..cd7c3f26654 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -3030,7 +3030,7 @@ Typing SPC flushes the help buffer." ;; If the user does mouse-choose-completion with the mouse, ;; execute the command, then delete the completion window. (progn - (mouse-choose-completion first) + (choose-completion first) (set-window-configuration comint-dynamic-list-completions-config)) (if (eq first ?\s) (set-window-configuration comint-dynamic-list-completions-config)