Commit 3106d59b authored by Glenn Morris's avatar Glenn Morris

* minibuffer.el (completion-hilit-commonality): Revert 2014-03-01 short-cut,

which changed the return value.

Fixes: debbugs:16933
parent f604dfdc
2014-03-04 Glenn Morris <rgm@gnu.org>
* minibuffer.el (completion-hilit-commonality):
Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2014-03-04 Juanma Barranquero <lekktu@gmail.com>
* hilit-chg.el (hilit-chg-unload-function): New function.
......
......@@ -1597,8 +1597,6 @@ This adds the face `completions-common-part' to the first
It returns a list with font-lock properties applied to each element,
and with BASE-SIZE appended as the last element."
(when completions
(if (zerop prefix-len)
completions
(let ((com-str-len (- prefix-len (or base-size 0))))
(nconc
(mapcar
......@@ -1626,7 +1624,7 @@ and with BASE-SIZE appended as the last element."
str)))
elem)
completions)
base-size)))))
base-size))))
(defun display-completion-list (completions &optional common-substring)
"Display the list of completions, COMPLETIONS, using `standard-output'.
......
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