diff options
| author | Stefan Monnier | 2019-03-19 23:41:20 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2019-03-19 23:41:20 -0400 |
| commit | 047c1b19353ff58d8cd45935c7b44c911b70e312 (patch) | |
| tree | 372db51d9d30c1435f4d5d0d7799e45e2c9f27a4 /etc | |
| parent | e14c0d748efe35afc653151ff18c4dd93dcc456e (diff) | |
| download | emacs-047c1b19353ff58d8cd45935c7b44c911b70e312.tar.gz emacs-047c1b19353ff58d8cd45935c7b44c911b70e312.zip | |
* lisp/eshell/em-cmpl.el: Use completion-at-point i.s.o pcomplete
(eshell-cmpl-initialize): Refrain from binding to the `tab` key,
which prevents the tab -> TAB remapping.
Use completion-at-point and completion-help-at-point.
(eshell-complete-commands-list): Use `fboundp` test instead of ugly
gymnastics to try and hide the function call from the compiler.
(eshell-pcomplete): Make it an alias of completion-at-point.
* doc/misc/eshell.texi (Completion): Change wording to reflect
different default behavior.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -985,6 +985,11 @@ default, and not just the opening element. | |||
| 985 | 985 | ||
| 986 | ** Eshell | 986 | ** Eshell |
| 987 | 987 | ||
| 988 | *** TAB completion uses the standard completion-at-point rather than pcomplete | ||
| 989 | Its UI is slightly different but can be customized to behave similarly, | ||
| 990 | e.g. Pcomplete's default cycling can be obtained with | ||
| 991 | (setq completion-cycle-threshold 5). | ||
| 992 | |||
| 988 | --- | 993 | --- |
| 989 | *** Expansion of history event designators is disabled by default. | 994 | *** Expansion of history event designators is disabled by default. |
| 990 | To restore the old behavior, use | 995 | To restore the old behavior, use |