Commit c3701c7d authored by Bastien Guerry's avatar Bastien Guerry

minibuffer.el (minibuffer-completion-help): Use 0 as thefallback value for `base-size'

* minibuffer.el (minibuffer-completion-help): Use 0 as the
fallback value for `base-size'.  (Bug#16933)
parent b01fa838
2014-03-04 Bastien Guerry <bzg@gnu.org>
* minibuffer.el (minibuffer-completion-help): Use 0 as the
fallback value for `base-size'. (Bug#16933)
2014-03-04 Juanma Barranquero <lekktu@gmail.com>
* hexl.el (hexl-address-region, hexl-ascii-region)
......
......@@ -1753,7 +1753,7 @@ variables.")
(if completions "Sole completion" "No completions")))
(let* ((last (last completions))
(base-size (cdr last))
(base-size (or (cdr last) 0))
(prefix (unless (zerop base-size) (substring string 0 base-size)))
(all-md (completion--metadata (buffer-substring-no-properties
start (point))
......
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