summaryrefslogtreecommitdiff
path: root/lisp/eshell
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2014-02-28 18:31:05 -0800
committerGlenn Morris <rgm@gnu.org>2014-02-28 18:31:05 -0800
commitb829360f5052d532a00f4693f9ca6494a348449e (patch)
tree4a69d121129eaabef08afa3cd76e6730387a20ce /lisp/eshell
parent5c410a9b800eeb93c58945dec0387697108ad5e2 (diff)
downloademacs-b829360f5052d532a00f4693f9ca6494a348449e.tar.gz
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/eshell')
-rw-r--r--lisp/eshell/em-hist.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/eshell/em-hist.el b/lisp/eshell/em-hist.el
index ec3cc8e1626..b721b5d8485 100644
--- a/lisp/eshell/em-hist.el
+++ b/lisp/eshell/em-hist.el
@@ -509,7 +509,8 @@ See also `eshell-read-history'."
;; Change "completion" to "history reference"
;; to make the display accurate.
(with-output-to-temp-buffer history-buffer
- (display-completion-list history prefix)
+ (display-completion-list
+ (completion-hilit-commonality history (length prefix)))
(set-buffer history-buffer)
(forward-line 3)
(while (search-backward "completion" nil 'move)