summaryrefslogtreecommitdiff
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
commit5759c7b90c9e2e9cc720bbfafab8eb6063017bfb (patch)
tree6cc97bbd35be9b1591fb38a78de01dda9d5fef30
parent7f2c83ea847a4a08b6569b44dc02ab7c80673bb1 (diff)
downloademacs-5759c7b90c9e2e9cc720bbfafab8eb6063017bfb.tar.gz
(pcomplete-show-completions): Recognize TAB on text terminals.
-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))