diff options
author | Glenn Morris <rgm@gnu.org> | 2014-02-28 18:31:05 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-02-28 18:31:05 -0800 |
commit | b829360f5052d532a00f4693f9ca6494a348449e (patch) | |
tree | 4a69d121129eaabef08afa3cd76e6730387a20ce /lisp/filecache.el | |
parent | 5c410a9b800eeb93c58945dec0387697108ad5e2 (diff) | |
download | emacs-b829360f5052d532a00f4693f9ca6494a348449e.tar.gz emacs-b829360f5052d532a00f4693f9ca6494a348449e.tar.bz2 emacs-b829360f5052d532a00f4693f9ca6494a348449e.zip |
Replace some uses of obsolete argument of display-completion-list
* lisp/minibuffer.el (completion-hilit-commonality):
Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
* lisp/comint.el (comint-dynamic-list-completions): Doc fix.
* lisp/comint.el (comint-dynamic-list-completions):
* lisp/filecache.el (file-cache-minibuffer-complete):
* lisp/tempo.el (tempo-display-completions):
* lisp/eshell/em-hist.el (eshell-list-history):
Replace use of obsolete argument of display-completion-list.
* lisp/tempo.el: Use utf-8 for author name.
Diffstat (limited to 'lisp/filecache.el')
-rw-r--r-- | lisp/filecache.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/filecache.el b/lisp/filecache.el index 802308b59c6..7d12517fcc3 100644 --- a/lisp/filecache.el +++ b/lisp/filecache.el @@ -613,7 +613,9 @@ the name is considered already unique; only the second substitution (append completion-setup-hook (list 'file-cache-completion-setup-function)))) (with-output-to-temp-buffer file-cache-completions-buffer - (display-completion-list completion-list string)))) + (display-completion-list + (completion-hilit-commonality completion-list + (length string)))))) (setq file-cache-string (file-cache-file-name completion-string)) (if (string= file-cache-string (minibuffer-contents)) (minibuffer-message file-cache-sole-match-message) |