# HG changeset patch # User Eli Zaretskii # Date 1143901892 0 # Node ID 3a72c4c8b7aef2a63ab5d7cb2935d580dc54d9ad # Parent ed06409bb547f4d5be5d09a1dda66f4987e23165 (pcomplete-show-completions): Recognize TAB on text terminals. diff -r ed06409bb547 -r 3a72c4c8b7ae lisp/pcomplete.el --- 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))