comparison lisp/term.el @ 105739:af8ed20ba9ca

(term-dynamic-list-completions): Use choose-completion rather than obsolete alias mouse-choose-completion.
author Glenn Morris <rgm@gnu.org>
date Sat, 24 Oct 2009 03:49:44 +0000
parents e7e9efa5ce16
children 009383a57ce8
comparison
equal deleted inserted replaced
105738:89a1bad44673 105739:af8ed20ba9ca
4178 (get-buffer "*Completions*")) 4178 (get-buffer "*Completions*"))
4179 (eq (key-binding key) 'mouse-choose-completion))) 4179 (eq (key-binding key) 'mouse-choose-completion)))
4180 ;; If the user does mouse-choose-completion with the mouse, 4180 ;; If the user does mouse-choose-completion with the mouse,
4181 ;; execute the command, then delete the completion window. 4181 ;; execute the command, then delete the completion window.
4182 (progn 4182 (progn
4183 (mouse-choose-completion first) 4183 (choose-completion first)
4184 (set-window-configuration conf)) 4184 (set-window-configuration conf))
4185 (if (eq first ?\s) 4185 (if (eq first ?\s)
4186 (set-window-configuration conf) 4186 (set-window-configuration conf)
4187 (setq unread-command-events (listify-key-sequence key))))))) 4187 (setq unread-command-events (listify-key-sequence key)))))))
4188 4188