From: Eli Zaretskii Date: Sat, 1 Apr 2006 14:31:32 +0000 (+0000) Subject: (pcomplete-show-completions): Recognize TAB on text terminals. X-Git-Tag: emacs-pretest-22.0.90~3360 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=338835b79ee51d98360f22677f12ab44cc8b9ca7;p=emacs.git (pcomplete-show-completions): Recognize TAB on text terminals. --- 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))