summaryrefslogtreecommitdiff
path: root/lisp/pcomplete.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2006-04-01 14:31:32 +0000
committerEli Zaretskii <eliz@gnu.org>2006-04-01 14:31:32 +0000
commit338835b79ee51d98360f22677f12ab44cc8b9ca7 (patch)
treee8fcdd719a00e49d614dc11c934ccbe7fd8e6c69 /lisp/pcomplete.el
parent7656d7b47ae492a78282e41041bcdc11382c4f48 (diff)
downloademacs-338835b79ee51d98360f22677f12ab44cc8b9ca7.tar.gz
(pcomplete-show-completions): Recognize TAB on text terminals.
Diffstat (limited to 'lisp/pcomplete.el')
-rw-r--r--lisp/pcomplete.el4
1 files changed, 3 insertions, 1 deletions
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))