From: Nick Roberts Date: Mon, 27 Mar 2006 08:50:20 +0000 (+0000) Subject: (comint-dynamic-list-completions): Allow user to select *Completions* buffer. X-Git-Tag: emacs-pretest-22.0.90~3421 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=86fc247003f05ef252b566724b93c9341befcb08;p=emacs.git (comint-dynamic-list-completions): Allow user to select *Completions* buffer. --- diff --git a/lisp/comint.el b/lisp/comint.el index 0cae078f481..5ab00354f80 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -2942,10 +2942,9 @@ Typing SPC flushes the help buffer." (progn (mouse-choose-completion first) (set-window-configuration comint-dynamic-list-completions-config)) - (unless (eq first ?\s) - (setq unread-command-events (listify-key-sequence key))) - (unless (eq first ?\t) - (set-window-configuration comint-dynamic-list-completions-config)))))) + (if (eq first ?\s) + (set-window-configuration comint-dynamic-list-completions-config) + (setq unread-command-events (listify-key-sequence key))))))) (defun comint-get-next-from-history ()