changeset 69756:3a72c4c8b7ae

(pcomplete-show-completions): Recognize TAB on text terminals.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 01 Apr 2006 14:31:32 +0000
parents ed06409bb547
children fc5d7c91100d
files lisp/pcomplete.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/pcomplete.el	Sat Apr 01 14:13:34 2006 +0000
+++ b/lisp/pcomplete.el	Sat Apr 01 14:31:32 2006 +0000
@@ -978,7 +978,9 @@
 		(set-window-configuration pcomplete-last-window-config)
 		(setq pcomplete-last-window-config nil)
 		(throw 'done nil))
-	       ((event-matches-key-specifier-p event 'tab)
+	       ((or (event-matches-key-specifier-p event 'tab)
+                    ;; Needed on a terminal
+                    (event-matches-key-specifier-p event 9))
 		(save-selected-window
 		  (select-window (get-buffer-window "*Completions*"))
 		  (if (pos-visible-in-window-p (point-max))