From 86fc247003f05ef252b566724b93c9341befcb08 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Mon, 27 Mar 2006 08:50:20 +0000 Subject: [PATCH] (comint-dynamic-list-completions): Allow user to select *Completions* buffer. --- lisp/comint.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 () -- 2.39.2