changeset 69687:4b35cb9e0b98

(comint-dynamic-list-completions): Allow user to select *Completions* buffer.
author Nick Roberts <nickrob@snap.net.nz>
date Mon, 27 Mar 2006 08:50:20 +0000
parents a952be838214
children c9236ba33e54
files lisp/comint.el
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Mon Mar 27 08:48:58 2006 +0000
+++ b/lisp/comint.el	Mon Mar 27 08:50:20 2006 +0000
@@ -2942,10 +2942,9 @@
 	  (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 ()