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))