(pcomplete-show-completions): Recognize TAB on text terminals.
This commit is contained in:
parent
7656d7b47a
commit
338835b79e
1 changed files with 3 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue