From 338835b79ee51d98360f22677f12ab44cc8b9ca7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 1 Apr 2006 14:31:32 +0000 Subject: [PATCH] (pcomplete-show-completions): Recognize TAB on text terminals. --- lisp/pcomplete.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el index 36878d2dff9..0f970c5191a 100644 --- a/lisp/pcomplete.el +++ b/lisp/pcomplete.el @@ -978,7 +978,9 @@ Typing SPC flushes the help buffer." (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)) -- 2.39.2