Commit d4e88786 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(completion-pcm-all-completions): Add the base-size.

parent 2926947a
2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
* minibuffer.el (completion-pcm-all-completions): Add the base-size.
2008-05-29 Juanma Barranquero <lekktu@gmail.com>
* icomplete.el (icomplete-prospects-height): Add :group.
......
......@@ -1496,7 +1496,9 @@ PATTERN is as returned by `completion-pcm--string->pattern'."
(defun completion-pcm-all-completions (string table pred point)
(destructuring-bind (pattern all &optional prefix suffix)
(completion-pcm--find-all-completions string table pred point)
(completion-pcm--hilit-commonality pattern all)))
(when all
(nconc (completion-pcm--hilit-commonality pattern all)
(length prefix)))))
(defun completion-pcm--merge-completions (strs pattern)
"Extract the commonality in STRS, with the help of PATTERN."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment