diff options
| author | Masatake YAMATO | 2005-10-16 09:31:48 +0000 |
|---|---|---|
| committer | Masatake YAMATO | 2005-10-16 09:31:48 +0000 |
| commit | f5fab556d45e13d12f83b2d8cd49fe343546c2f6 (patch) | |
| tree | b7b647699c7aaf6d26553dbfe2090e0bead36fd2 /lisp/eshell | |
| parent | 2416ec641247bc8d59cca8cac038cd00eba646f9 (diff) | |
| download | emacs-f5fab556d45e13d12f83b2d8cd49fe343546c2f6.tar.gz emacs-f5fab556d45e13d12f83b2d8cd49fe343546c2f6.zip | |
* message.el (message-expand-group): Pass the common
prefix substring of completion to `display-completion-list'.
* mh-comp.el (mh-complete-word): Pass the common
prefix substring of completion to `display-completion-list'.
* dabbrev.el (dabbrev-completion): Pass the common
prefix substring of completion to `display-completion-list'.
* filecache.el (file-cache-minibuffer-complete)
(file-cache-complete): Ditto.
* tempo.el (tempo-display-completions): Ditto.
* wid-edit.el (widget-file-complete, widget-color-complete): Ditto.
* emacs-lisp/lisp.el (lisp-complete-symbol): Ditto.
* eshell/em-hist.el (eshell-list-history): Ditto.
* mail/mailabbrev.el (mail-abbrev-complete-alias): Ditto.
* progmodes/etags.el (complete-tag): Ditto.
* progmodes/make-mode.el (makefile-complete): Ditto.
* progmodes/meta-mode.el (meta-complete-symbol): Ditto.
* progmodes/octave-mod.el (octave-complete-symbol): Ditto.
* progmodes/pascal.el (pascal-complete-word)
(pascal-show-completions): Ditto.
* textmodes/bibtex.el (bibtex-complete-internal): Ditto.
* simple.el (completion-common-substring): New variable.
(completion-setup-function): Use `completion-common-substring'
to put faces.
* minibuf.c (Fdisplay_completion_list): Add new optional
argument COMMON_SUBSTRING. Bind `completion-common-substring'
to the optional argument during running `completion-setup-hook'.
Diffstat (limited to 'lisp/eshell')
| -rw-r--r-- | lisp/eshell/em-hist.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/em-hist.el b/lisp/eshell/em-hist.el index fd887e5fa86..e7844028542 100644 --- a/lisp/eshell/em-hist.el +++ b/lisp/eshell/em-hist.el | |||
| @@ -507,7 +507,7 @@ See also `eshell-read-history'." | |||
| 507 | ;; Change "completion" to "history reference" | 507 | ;; Change "completion" to "history reference" |
| 508 | ;; to make the display accurate. | 508 | ;; to make the display accurate. |
| 509 | (with-output-to-temp-buffer history-buffer | 509 | (with-output-to-temp-buffer history-buffer |
| 510 | (display-completion-list history) | 510 | (display-completion-list history prefix) |
| 511 | (set-buffer history-buffer) | 511 | (set-buffer history-buffer) |
| 512 | (forward-line 3) | 512 | (forward-line 3) |
| 513 | (while (search-backward "completion" nil 'move) | 513 | (while (search-backward "completion" nil 'move) |